Sir,
using following link----- https://www.element14.com/community/people/jancumps/blog/2014/12/13/ti-hercules-launchpad--test-the-can-with-a-poor-mans-can-driver
i had followed the method and put the code you given later i get the proper can frame which i test on MSO. but after some days i again test it . it generate the nERROR LED (RED LED) = ON on the launchpad TMS570LS04X . i gain tried to deploy the same code in it but it again show the same error LED on. and frame also not generated. it shows following error.
CortexR4: Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 6.0.14.5)
CortexR4: Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 6.0.14.5)
what will i do to rectify this problem.
thanks,
regards,
rocky

