We are trying to call CAN_Boot() function that is in the ROM from application code for a F28069 on a DRV8312EVM. I think we are using the correct address as we have figured out how to load ROM symbols and step into it. However, it seems that are not getting any messages. In our test code, we see bus errors indicated. We are using 100K baud, standard message IDs, ID 1. Its the first thing we are doing in our code.
Is there any other initialization that needs to be done?
unsigned long can_boot_addr = 0x03ff4fe;
void (*entry)();
void main(void)
{
/* disable watchdog */
DisableDog();
/* call CAN_BOOT */
entry = (void(*)())(can_boot_addr);
/* run application at this address */
entry();