2009-12-02 11:59 PM
Help with CAN Example
2011-05-17 04:32 AM
Hello,
we tried to run the can example from the standard libraries with hitop53 ctx and didn't get it work. We are using the stm32f10b Evaluation board. Do someone have experiences with this board and can show us an example which works an this board? In dissambly code we can see that the program starts in the address 0x1FFFF020. After some instructions it jumps to the address 0x1FFFF3B6 and stays in a loop. So our program never will be started. We don't know what to do. In the attachments is our actual program that does not run on the board, but comiles without failures. [ This message was edited by: vreitenbach on 03-12-2009 11:39 ]2011-05-17 04:32 AM
Hi,
As I remeber i've already tested this library example but with Ewarm tool(using Jlink) and it works well. I geuss it should be ok also with hitop. Are you considering the following hardware recommendations in your trial? /******************************************************************/ - STM3210B-EVAL Set-up - Use LED1, LED2, LED3 and LED4 leds connected respectively to PC.06, PC.07, PC.08 and PC.09 pins - Use Push Button connected to PB9 - Connect a female/female CAN cable between at least 2 EVAL CAN connectors (on STM3210B-EVAL (CN2)/ STM3210E-EVAL (CN4) boards) - Connector 1 DB9_PIN2 to Connector 2 DB9_PIN2 (CAN_L) - Connector 1 DB9_PIN5 to Connector 2 DB9_PIN5 ( GND ) - Connector 1 DB9_PIN7 to Connector 2 DB9_PIN7 (CAN_H) @note JP3 must be fitted. /**********************************************************************/2011-05-17 04:32 AM
Thank you for helping. It means that the example is ok. So there is another problem with our project settings maybe.
We thought that the pins are standardly connected to the leds. Did you have two boards for testing. We only have one and can't connect to another, but the program must jump in main either there's no other board connected and it doesn't.2011-05-17 04:32 AM
Yes the LEDS are by default connected.
Indeed in my trial I used to work with two evals boards, and for sure with only one board it should at least jump to main.