Hello,
My team has developed a board based on RM48L952ZWT microcontroller, and we're using our own start up code.
Whenever I try to debug my code everything works properly. I can restart it, reset it, and everything works without any problems. The problem comes when I remove power from the board and then plug it back again. It sets de nError pin and my code doesn't boot up. In order to test this I programmed my board using halcogen and put a dummy application in it (infinite loop) and I can see that everything works properly.
Just in case I also tested my code in the RM48HDK and I can see that sometimes it works. If I turn it off WITH the debugging cable connected, my application works, if I do the same without the debugger plugged in it doesn't work.
This is obviously a firmware problem, I must be configuring something wrong, but I have no idea what. I'll post my code as soon as I clean it up and remove proprietary code.