I tried it with version 3xx and it does the same thing, Locks up in the same place the majority of the time. Something weird is up. After programming, when it restarts it works, but it does not work now on cold power up.
The smaller version of code I posted earlier takes off every time.
For grins, I checked the onboard power supply, 10.15 volts in and a steady 5.02 volts out so that shouldn't be a problem.
Considering it has worked good for a week and now it doesn't I bet there is a problem with the pic or crystal. I'll have a new board on Tuesday and I'll find out.
Last edited by rwskinner on Mon Dec 18, 2006 6:02 am; edited 1 time in total
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Mon Dec 18, 2006 12:23 am
It's unfortunate the way their board is built. Generally it's best to
get a development board where everything is in a socket. Then
you could easily plug in a new PIC.
rwskinner
Joined: 08 Dec 2006 Posts: 125 Location: Texas
Posted: Thu Dec 21, 2006 7:02 am
My new CAN Dev board came in. The posted code produces the same exact results so it's not the board.
Can_init hangs in the same place.
This problem is on Node B.
How this is set up.
Node B does nothing but transmit messages.
Node A never transmits but only listens.
Does node A need to send an occasional message out just so there is a little traffic?
All times are GMT - 6 Hours Goto page Previous1, 2
Page 2 of 2
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum