Hello,
We have made a prototype/dev board with the 28035 Piccolo and an on board XDS100v1. Everything works fine with the debugger and getting code to run. We would like to run the controller from flash but we are having a hard time doing it and it looks like we may have screwed it up pretty good. At any rate, I was wondering if you guys could clarify a few things for me.
As I understand it there are 3 ways to instruct the 28035 on where to boot from:
1. With an Emulator using the EMU_KEY and EMU_BMODE bits of the PIE vector table which resides in RAM.
2. No Emulator using GPIO37/TDO and GPIO34
3. Using the OTP registers (ONE time programming)
Option 2 is pretty much gone because we did not install jumpers for the TDO pin and GPIO34 is used else where and would require significant board hacking to gain access to.
I would prefer to avoid option 3 as these are dev boards, idea being they can be flexible for future use.
Pretty much leaves just option 1. This requires an emulator to be connected, but I was wondering if there is a way to set up the EMU_KEY and EMU_BMODE bits so that they will survive a power cycle (it appears they are in RAM?). I should be able to test the code with these bits set how ever I want (though the GEL file or a script in CCSv5), but I am wondering if this requires that an emulator actually be connected or if I can just pull the TRST pin low and use the EMU bits to boot from flash (or where ever I want it to boot from)? I should be able to then connect a debugger to change the bits and therefore the boot mode.
Is that possible or am I stuck until I program the OTP?
Thanks,
Jim