Hello Josh, have you adapted your example "CanBlinky" from the MCB2100 Board to the Phytec Board? The Baudrate settings for canbtr-register are right? (see message 6065 from dietmar). Try the other Canexamples in the FileSection. They worked fine for me and I use the same environment (PhytecLpc2294 on HD200 with KeilIde). You can find a good book for beginners at hitex.co.uk/arm from Trevor Martin. Klaus --- In lpc2000@yahoogroups.com, "Josh Ferguson" <joshandrebekah@y...> wrote: > I appologize for being clueless. Any help would be very appreciated. > > This is my first experience with writing embedded software. I'm > using an ARM7 on the LPC2294 board. I have it plugged into a Phytec > HD200 test board. I used uV3 as an IDE for development. > > So far I've successfully loaded and run the two example (blinky and > Hello) programs specifically written for the lpc22xx board. I've now > moved onto the CAN examples. The one I'm specifically trying to get > to work is CANBlinky. It compiles and I can put it on the board > without problems and it appears to be running (the LED is blinking) > but I'm getting nothing from CAN2 which is supposed to be > transmitting A/D data. Are there any gotchas when I try to run these > CAN examples on the 2294 board? The one thing I was mucking around > with was the target options. They were different than the ones in > the other two examples. I tried to make them match but some of the > options weren't available on the CANBlinky program. > > Another thing I've noticed is in being able to debug. With the other > examples I was able to set breakpoints in the code and step through > things. This has been EXTREMELY helpful in helping me learn and > understand what's going on. But with the CANBlinky example, when I > try and debug, my breakpoints are never hit and when I stop the > debugger and try and step, All I ever get to see is the program > pointer in the disassembler going repeating the same 5 or six lines > of assembly over and over. I never get to step through the code. > > Lastly, does anyone have any suggestions as to resources I can take > advantage of in learning the basics of programming for the ARM7? Any > books for beginners or the like? I'm a bit over my head with this > and it was dumped in my lap with a short timeframe to complete it. > > Any help would be VERY appreciated. > > Thanks. > > Josh
Message
Re: CAN Examples on LPC2294
2005-06-16 by Klaus
Attachments
- No local attachments were found for this message.