cancel
Showing results for 
Search instead for 
Did you mean: 

561 code execution

pete3
Associate II
Posted on June 15, 2004 at 14:26

561 code execution

2 REPLIES 2
pete3
Associate II
Posted on June 07, 2004 at 11:53

I've been coding for the 561 in STVD7 using the COSMIC C compiler. I've hacked around with the VD7 settings to create a linker file that I think puts everything in the right place for this micro- but my code still does not execute. VD7 does not natively support the 561 so I have selected a ST72F611F1 and just ignored all its settings. I'm including io725h from the standard COSMIC libraries (modified to include the CAN paged registers) and rewritten a number of options in the Project&gtSettings>[Linker tab]>[Input drop-down box] to generate the linker file attached to this message.

Additionally I have used the scotty board and program to verify what is written to the chip and it appears that the interrupt vector corresponds to the location of the start up code. The startup vector at memory location 0xfffe-ff points to 0x1000, which is where my code starts. But it still doesn't work!

Anyone have any ideas?

________________

Attachments :

ledwriter.lkf : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0E6&d=%2Fa%2F0X0000000bWk%2Fqck7UkQ1EscBYOds0nqEyIRzv1k4XT51BFdYtUBKDr4&asPdf=false
pete3
Associate II
Posted on June 15, 2004 at 14:26

Forget it. Hardware watchdog enabled (duh!).