Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
I have no idea what the 'Autos' window does. What does the Registers window say below it for PIOA?
Otherwise, if those are correct watch's something is off with your hardware. Those 0xcdcdcdcd values should not be there at all. Most of those registers like PIO_MDSR are hardwired to default to 0x00000000 on reset. The fact that you haven't touched them and they are reporting non-reset values means there's something wrong.
I have a confession to make that might seem very obvious to you. With all the other micros I have played with (PICs, 8051, 68000 and some others) you can step through the code without needing to connect to the hardware.
It looks like the ARM is different - although I did have the hardware connected when evaluating with the IAR platform. I need to look more into this.
With the Crossworks compiler, it took some effort to get the compiler pointing to the right J-LINK files, but now it works and my LED is flashing under compiler control.
I really appreciate your help and patience with getting me through this. Now I have overcome the simple (read: stupid) stuff, hopefully I can move forward a bit faster!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.