This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3356 GPMC Reset Behaviour

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!

  • Moving this to the CCS forum.

  • Hello

    Hannes Boerner said:
    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.

    From what version of CCS did you move from (where it was working fine)? Please provide the Full CCS version number and the Emulator Pack version.

    And are the GEL files being used between the two version identical?

    Hannes Boerner said:
    What is the big difference between 'system reset' and HW reset? What should I know about it?

    A HW (CPU) Reset is a local reset that just reset the core while a system reset is a system level warm reset. It has the same effect of nRESET.

    Hannes Boerner said:
    Which kind of reset causes a jump to the 'OnReset' function of the GEL-Script?

    They all will.

    Thanks

    ki