10 years, 10 months ago.  This question has been closed. Reason: Question was answered.

Resetting the EA LPC4088 QSB

Hi all,

I have recently started using the mBed LPC1768 platform and now migrated to the LPC4088 QSB.

For the 1768, I have been using the following:

extern "C" void mbed_reset(); (Declared at the top of the program)

And then throughout the program, when needed to, I use "mbed_reset();" to reset the program.

I just got my LPC4088 today and was porting my 1768 code over.

I have most of the bugs worked out.

But this is the one things that I cannot fix.

Is there something similar I can use?

Or is there a built-in function that will allow me to reset the 4088 in a similar fashion?

Thank you in advance for your help.

Question relating to:

The mbed-enabled LPC4088 QuickStart Board from Embedded Artists is a easy to use ARM Cortex-M4 rapid prototyping board in a standard through hole DIP package (44-pin), targeted at high-performance as …

3 Answers

10 years, 10 months ago.

'#define DEVICE_SEMIHOST' indicates whether or not the module has the so-called mbed interface chip. This is the processor used for flashing, USB serial comms to the host, local-filesystems etc. The interface is also used to reset the target processor (eg lpc1768) when you call mbed_reset(). You need another solution when there is no interface chip on your board.

Accepted Answer
10 years, 10 months ago.

mbed_reset() is defined in the mbed_interface.c into the mbed libs. So from this fonctions is only defined if DEVICE_SEMIHOST if set to 1. this '#define DEVICE_SEMIHOST' is different for each mbed board and is set into he device.h file that deal with each board. It is defined to 1 for the 1768 but to 0 for the 4088 board.

So from we have to find another way to reset the 4088QSB...

Jack Chiu
poster
10 years, 10 months ago.

Thank you Raph and Wim.

At the very least it confirmed what I was suspecting.

I will try to implement a hardware solution to do the resetting.

Thank you both for your quick replies.