Actually, since there were so many problems with the provided firmware, I decided to implement my own custom firmware. Starting from example 21_RTOS_FILESYSTEM and others, I'm now able to:
- record traces on file of customisable size
- use a timeout based on CAN traffic and Wake-Up signal detection for saving the file
- check if the disk is full, then delete the oldest file and a create a new one
I basically would like to replicate the feature of the provided firmware, so that I can assign the baud rate for every channel via file.
Since I know that modifying the following variable in can_user.c
Code: Select all
static const CANTiming_t Timing_CANx[6] = {
_40M_250K_80____2M_80_ISO, // CAN1
_40M_250K_80____2M_80_ISO, // CAN2
_40M_500K_80____4M_80_ISO, // CAN3
_40M_250K_80____2M_80_ISO, // CAN4
_40M_250K_80____2M_80_ISO, // CAN5
_40M_250K_80____2M_80_ISO // CAN6
};
Unfortunately, I failed in this. Even if the code compilation goes well, with my implementation no more traces are recorded. Could you please provide me a help? Maybe a sample code of this part already implemented?
Thank you,
Alessandro