OpenNuvoton / M031BSP

BSP for M031 Series MCU
Apache License 2.0
15 stars 16 forks source link

FreeRTOS at NuMaker M031DS v1.2 not running #17

Open ghost opened 2 years ago

ghost commented 2 years ago

I open the project M031BSP-master\SampleCode\FreeRTOS\KEIL\FreeRTOS.uvproj, execute "Rebuild", then "F8" and get an error "Either the Programming Algorithm or Start and Size RAM for Algorithm is improper."

kchuang1 commented 2 years ago

Hi,

Due to default heap size is 8KB for FreeRTOS sample, the device selects large SRAM device, like M031SIAAE or others.

If you want to test FreeRTOS sample on M031DS, please follow below step.

  1. reduce the heap size in FreeRTOSConfig.h file
  2. Select the "Option for Device" -> Utilities --> Settings --> let the tool to update the Programming Algorithm by detecting the device. Then, it can download.
ghost commented 2 years ago

Thanks! It works.