Hi,
a customer is having a hard time getting the warm reset to work properly. The customer is trying to get a boot-order via Software booting configuration of MMC1, MMC2.
After a warm reset the processor always boots off of MMC2. The sys_boot pins are set to 5:0 ( 110001). This gives a cold reset sequence of USB, UART3, MMC1, MMC2 (Table 26-4) and a warm reset of MMC2 only (Table 26-5).
However, as per section 26.4.4.3 of SPRUGN document, this order can be changed using the scratch pad memory (see Figure 26-9) which overrides the sys_boot pins. We have written scratch pad memory located at address 0x48002910 to (refer to section 26.4.4.4 and Table 26-12)
Here are a few trials to write that internal memory:
___address____|_0__1__2__3__4__5__6__7__01234567
NSD:48002910|01 AA 00 CF 0C 00 00 00 ........
NSD:48002918| 1E 00 06 00 00 00 05 00 ........
NSD:48002920| 00 00 00 00 00 00 00 00 ........
NSD:48002928| 00 00 00 00 00 00 00 00 ........
NSD:48002930| 00 00 00 00 00 00 00 00 ........
NSD:48002938| 00 00 00 00 00 00 00 00 ........
NSD:48002940| 00 00 00 00 00 00 00 00 ........
NSD:48002948| 00 00 00 00 00 00 00 00 ........
___address____|_0__1__2__3__4__5__6__7__01234567
NSD:48002910|01 AA 00 CF 0C 00 00 00 ........
NSD:48002918| 00 1E 00 06 00 05 00 00 ........
NSD:48002920| 00 00 00 00 00 00 00 00 ........
NSD:48002928| 00 00 00 00 00 00 00 00 ........
NSD:48002930| 00 00 00 00 00 00 00 00 ........
NSD:48002938| 00 00 00 00 00 00 00 00 ........
NSD:48002940| 00 00 00 00 00 00 00 00 ........
NSD:48002948| 00 00 00 00 00 00 00 00 ........
___address____|_0__1__2__3__4__5__6__7__01234567
NSD:48002910|CF 00 AA 01 00 00 00 0C ........
NSD:48002918| 00 1E 00 06 00 05 00 00 ........
NSD:48002920| 00 00 00 00 00 00 00 00 ........
NSD:48002928| 00 00 00 00 00 00 00 00 ........
NSD:48002930| 00 00 00 00 00 00 00 00 ........
NSD:48002938| 00 00 00 00 00 00 00 00 ........
NSD:48002940| 00 00 00 00 00 00 00 00 ........
NSD:48002948| 00 00 00 00 00 00 00 00 ........
Somehow it is still not working. Are there working examples of writing the Software Boot Configuration memory locations?
Thanks,
--Gunter