10 years, 10 months ago.

Reset Button

On the Arch Pro, if I hit the reset button my code restarts but hangs early on. Not sure I ever saw this when using the mbed LPC1768, but I don't think so.

I realised I still had some code accessing the local file system (which isn't implemented on Arch Pro), but after removing that I still get a hang when it tries to configure the Ethernet via DHCP.

Powering down and back up will work fine (even with the local file access - although it was a read only, and errored out), but I almost always get a hang if I use the reset button (or RESET pin). It will very occasionally it will work one time.

I've loaded the latest firmware mentioned at https://mbed.org/users/seeed/notebook/the-mbed-interface-of-arch-pro/ (I notice that the new firmware changes the LEDs of the debug interface - they were all on previously, now only flashing with activity)

Question relating to:

Arch Pro, an mbed enabled development board for rapid prototyping.

2 Answers

10 years, 10 months ago.

Hi Kean,

I also noticed that Arch Pro may hang up at the Ethernet's DHCP process after a reset. It's a issue of semihost. I public a program to disable semihost with some changes of mbed src library. It works.

Best, Yihui

Accepted Answer
10 years, 10 months ago.

Thanks Yihui. I will take a look at that to see if it will help me.

I think some of the issues had related to debugging printf()'s blocking the code - sometimes the USB serial port was not conncected physically or needed to be closed and reopened to unblock. I also discovered a bad crimp on my ethernet cable was causing random dropouts. I've since had my code run pretty reliably with thousands of network connect/disconnects.