Hello, for more than an year I've been using the WinARM compiler + OpenOCD + Eclipse/PN + AT91SAM7S128 based board for my projects. The makefile, the startup code and the linker script, that I’m using, are based on the examples from the WinARM package. Recently I’ve discovered that the HW reset button on my board doesn’t work. Actually it works, but only after the Flash has been programmed via the OpenOCD (using the makefile). After boot it seems that the reset vector is no longer doing its gob. I’ve studied the spartup code carefully and I don’t see any troubles in there. Did somebody noticed the same problem with the examples from the WinARM, or had the same problem? Thanks, Dim sing
Dim Alex wrote: > for more than an year I've been using the WinARM compiler + OpenOCD + > Eclipse/PN + AT91SAM7S128 based board for my projects. The makefile, the > startup code and the linker script, that I’m using, are based on the > examples from the WinARM package. Which one? There are different examples with different startup-codes included for SAM7S. Please check my web-pages too, some examples have been updated since the latest "official" release of WinARM (20060606). > Recently I’ve discovered that the HW reset button on my board doesn’t > work. Actually it works, but only after the Flash has been programmed > via the OpenOCD (using the makefile). Did you verify that the hardware-reset though the reset-pin is activated? On SAM7S this has to be done by software. Most of the "WinARM-examples" should include this activation, but I do not remember if it's included in all of them.
Hello Martin, thanks for the answer. Martin Thomas wrote: > Dim Alex wrote: >> for more than an year I've been using the WinARM compiler + OpenOCD + >> Eclipse/PN + AT91SAM7S128 based board for my projects. The makefile, the >> startup code and the linker script, that I’m using, are based on the >> examples from the WinARM package. > > Which one? There are different examples with different startup-codes > included for SAM7S. Please check my web-pages too, some examples have > been updated since the latest "official" release of WinARM (20060606). I'm using the startup code from the 'gamma' project, but not from the last version. > >> Recently I’ve discovered that the HW reset button on my board doesn’t >> work. Actually it works, but only after the Flash has been programmed >> via the OpenOCD (using the makefile). > > Did you verify that the hardware-reset though the reset-pin is > activated? On SAM7S this has to be done by software. Most of the > "WinARM-examples" should include this activation, but I do not remember > if it's included in all of them. Indeed I didn't activated this option, and this was my problem. Thanks a lot for the hint. Best regards, Dim
Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
Log in with Google account
No account? Register here.