Test project to attempt to debug the problem with the new CPU
Posted: Thu Feb 16, 2023 5:05 am
Anyone who wants to have a go at working out why the CPU in the new radios does not work....
I have made a "test" project which has the minimal code necessary to test and debug the problem
See
https://github.com/LibreDMR/MDUV380_Testbed
In order to build the test firmware, you need to download and install STM32CubeIDE from STM (requires registration even though its free)
https://www.st.com/en/development-tools ... beide.html
Once installed, you need to import the project files
In STM32CubeIDE you will need to use File -> Import -> Projects from Folder or Archive
Select the folder containing the project files
Then wait for STMCube to download all the necessary other files it needs
The crash seems to occur when the FreeRTOS scheduler is started
https://github.com/LibreDMR/MDUV380_Tes ... 1977-L2103
The firmware does not seem to reach the part of the code intended to handle errors
https://github.com/LibreDMR/MDUV380_Tes ... 2090-L2093
I've also added code into the void HardFault_Handler(void) etc but the code does not appear to crash there either
I have made a "test" project which has the minimal code necessary to test and debug the problem
See
https://github.com/LibreDMR/MDUV380_Testbed
In order to build the test firmware, you need to download and install STM32CubeIDE from STM (requires registration even though its free)
https://www.st.com/en/development-tools ... beide.html
Once installed, you need to import the project files
In STM32CubeIDE you will need to use File -> Import -> Projects from Folder or Archive
Select the folder containing the project files
Then wait for STMCube to download all the necessary other files it needs
The crash seems to occur when the FreeRTOS scheduler is started
https://github.com/LibreDMR/MDUV380_Tes ... 1977-L2103
The firmware does not seem to reach the part of the code intended to handle errors
https://github.com/LibreDMR/MDUV380_Tes ... 2090-L2093
I've also added code into the void HardFault_Handler(void) etc but the code does not appear to crash there either