Re:LM3S6965 crashes in hibernate
All right -I have changed the code to HibernateClockSelect(HIBERNATE_CLOCK_SEL_DIV128);
It still dies at the first call to this function, precisely, it dies at assembly code:
?Subroutine0: > dies here 00000278 680A LDR R2, [R1] 0000027A 439A BICS R2, R2, R3 0000027C 4302 ORRS R2, R2, R0 0000027E 600A STR R2, [R1]
I see nothing on the 4.194304 MHz cryastal, at either lead. I am using the ethernet eval board, so all power and other signals are there - I hope!
Here's a hint, possibly - when I first powered the eval board up, before I started the IAR IDE, the Blinky program loaded last night started right up and ran - and I saw about a 112 kHz sawtooth on the crystal leads. This was with HibernateClockSelect still using HIBERNATE_CLOCK_SEL_RAW.
I just reset the program in the debugger, exited, and power cycled the eval board. Blinky appears to be running, and I see a 63 Hz negative going pulse train - 600 uSec negative pulses - on the crystal at header pin 56, which is XOSC1 - pin 53 on the processor.
Is the LED blinking because the processor is repeatedly resetting?
I have 32 kHz oscillator units on order - when I get them, I will try again with HIBERNATE_CLOCK_SEL_RAW.
login or register to reply
|