This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS570LS1224: Can bootloader with CAN3 reply cause "form error..." and "stuff error..."

Part Number: TMS570LS1224
Other Parts Discussed in Thread: HALCOGEN

Hello, I managed (with help from HMS support) to swap out the NI driver on host side with the Ixxat, and got the bootloader to do what I wanted on the 3137 chip, but then I moved to the board we need to use (LS1224) and swapped the CANreg to 3 and activated CAN3 in HALCoGen. 

I verified that the ping from the Host is recieved in the MCU with the right code (line 491 in bl_dcan.c), but when it has finished it's PacketWrite (line 507) all I fet is "stuff error..." and "form error...".

I have tried to figure out what is wrong but I am unable too.

Is there somthing more then changing the "#define CAN_PORT canREG1" into "#define CAN_PORT canREG3" and Activating CAN3 in halcogen?

Any other tip to make it work?

I do not have access to CAN1 on the board. But I have verified with another program that CAN3 functions.