i'm investigating an issue the whole day and can not fix following situation:
Witihn user_init() following hw-timer is initialized:
hw_timer_init(FRC1_SOURCE, 1);
hw_timer_set_func(hw_pwm_timer_cb);
hw_timer_arm(100);
The httpd triggers following lines at an incoming http-request:
spi_flash_erase_sector(0x3D);
spi_flash_write((0x3D) * SPI_FLASH_SEC_SIZE,(uint32 *)&data, sizeof(struct SettingsData));
I recognized that this lines are not finished. So erase is not finished. The processor restart with a fatal exception.
In case of deactivated hw_timer, writing to spi flash works without any problems.
Do you know this issue? How can i deactivate the hw_timer to write or do you what's the problem?
Thx.
KlausStatistics: Posted by Klaus W. — Mon Nov 30, 2015 2:36 am
]]>