I have discovered that running my board support code using the DS-5 and DSTREAM causes different behavior than executing without debug support. For example, in the case of Ethernet, the MAC transmit will not occur unless there is a 1 second delay inserted between the ready bit TxBD write and the TDAR write. Alternatively, a breakpoint before the TDAR write could be used and as long I re-write the TxBD manually using the Eclipse interface the transmit will work. Otherwise it will not. However, none of this is necessary and the transmit works fine without the debugger. I've disabled semihosting just in case.
Another problem is found with the USB - waiting for the UI bit (interrupt) to be set for packet detect. With the debugger connected, the code is stuck forever at that wait despite packets existing. Works fine running standalone.
I'm trying to figure out - what could cause this?
What board are you using here? Sounds like it would be best to raise a support case so that they can work through this in detail.
In reply to Joe Alderson:
I am using a Boundary Devices Nitrogen6x board. I've been in touch with them about certain issues, but as far as I know they don't have any expertise with the DSTREAM or DS-5.
Ok - I see there's a separate ARM support network through your link. I'll submit a case report there.
In reply to TS:
Thanks - let us know how you get on!