Other Parts Discussed in Thread: AM3356
Hello Community,
after upgrading to CCS v6 I am encountering a reset behavior I do not understand when using the GPMC of an AM3356 with an attached SRAM.
The GMPC timing settings were checked with an oscilloscope. The are looking good.
I am running a memory check inside my application. In special cases this check fails. When it fails, it occurs that no values can be written to the SRAM while reading works (I can see the memory cells using the debugger. This does not work when the timing settings are trashy.).
The following cases can be repeated:
1. No application in flash: power cycle -> connect to target (incl. Init-Script) -> load application -> memtest fails; HW and/or SW reset in CCS -> Init-Script -> load application -> memtest fails
2. No application in flash: power cycle -> Connect to target (incl. Init-Script) -> load application -> memtest fails; system reset from CCS -> Init-Skript -> load application -> memtest succeeds (???)
3. Bootloader and application in flash: power cycle -> bootloader -> application -> memtest succeeds
Obviuosly, no write access on the SDRAM is possible after a power cycle followed by a 'connect to target'. First, a system reset has to be done and then writing and reading is (repeatedly) successfull.
What is the big difference between 'system reset' and HW reset? What should I know about it?
Which kind of reset causes a jump to the 'OnReset' function of the GEL-Script?
Thank you in advance!