Hi,
I'm trying to develop a SPI bootloader for CC2538.
I used Texas serial bootloader as base and I mainly changed the main routine to perform SPI checking.
Using the icf file provided with the serial bootloader, I've tried to program the bootloader on CC2538 of my own board and IAR blocked. That result in a device unreachable not throug IAR, not though FlashProgrammer2 gui or command line. As Flash Programmer 2 recommends I'v tried to force a mass erase but I only get :
<================================================>
dbgTrace Version 0.76 (02/13/15)
Cmd line args present = 3
Traceprobelib.dll Version 0.2.3.1
Calling init
Running TPL Init
Pod Type = 2
Attempting to open generic emulator!
Error opening generic emulator, code = -230
Traceprobe DLL Initalization (Create) Fail
Error Code = 0
My First assumption was that there was a random error or my board was buggy, so i tried the same in one new board getting the same result. Therefore I switched to Texas CC2538 EB, where I'm sure that there is no HW issue. I tried the same FW and now I have it locked too.
Any clue of how can I restore the HW or what is going on?
Thank you