- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm getting this when I try to step through some of my code:
I have extracted a small sample that reproduces the problem from my application. I tried to simplify it further, but then sometimes it doesn't crash.
I get the crash right about here on line 9:
void my_test() {
RunningStat stats;
RS_init(&stats);
float sum = 0;
for (size_t i = 0; i < N_VIBRATIONS; ++i) {
float v = pT2->vibration;
// Scale and translate:
v -= 0x8000;
v /= 0x8000;
Here is the Output:
--------------- Build Started: 06/16/2020 08:33:40 Project: Turb_Mon, Configuration: ARM GCC 5.4-2016-q2-update Debug ---------------
The code generation step is up to date.
The compile step is up to date, no work needs to be done.
The link step is up to date, no work needs to be done.
arm-none-eabi-gcc.exe -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -mthumb -I..\Lab-Project-FreeRTOS-FAT\include -I..\Lab-Project-FreeRTOS-FAT\portable\common -I.\portable\MCU_PSOC6_M4 -I.\Generated_Source\PSoC6\pdl\middleware\ble -I. -IGenerated_Source\PSoC6 -IGenerated_Source\PSoC6\pdl\cmsis/include/ -IGenerated_Source\PSoC6\pdl\devices/psoc6/include/ -IGenerated_Source\PSoC6\pdl\devices/psoc6/include/ip/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/device/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/dma/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/efuse/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/flash/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/gpio/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/ipc/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/lvd/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/profile/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/prot/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/rtc/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/sar/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/scb/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/sysanalog/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/sysclk/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/sysint/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/syslib/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/syspm/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/systick/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/tcpwm/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/trigmux/ -IGenerated_Source\PSoC6\pdl\drivers/peripheral/wdt/ -IGenerated_Source\PSoC6\pdl\middleware/ -IGenerated_Source\PSoC6\pdl\middleware/emWin/code/drivers/Control/ -IGenerated_Source\PSoC6\pdl\middleware/emWin/code/include/ -IGenerated_Source\PSoC6\pdl\middleware/emWin/code/include/osnts_softfp/ -IGenerated_Source\PSoC6\pdl\rtos/FreeRTOS/10.0.1/Source/include/ -IGenerated_Source\PSoC6\pdl\rtos/FreeRTOS/10.0.1/Source/portable/GCC/CM4F/ -IGenerated_Source\PSoC6\pdl\utilities/ -Wa,-alh=.\CortexM4\ARM_GCC_541\Debug/my_test.lst -g -D DEBUG -D CY_CORE_ID=0 -D CY_PSOC_CREATOR_USED=1 -D CY8C6347BZI_BLD53 -Wall -ffunction-sections -ffat-lto-objects -Og -c my_test.c -o .\CortexM4\ARM_GCC_541\Debug\my_test.o
arm-none-eabi-gcc.exe -Wl,--start-group -o "C:\Users\carlk\Documents\PSoC Creator\Turbmon.cydsn\Turb_Mon.cydsn\CortexM4\ARM_GCC_541\Debug\Turb_Mon_link.elf" Generated_Source\PSoC6\pdl\middleware\ble\lib\cy_ble_stack_gcc_host_ipc_cm4.a Generated_Source\PSoC6\pdl\middleware\emWin\libs\GCC\libemWin_osnts_gcc.a .\CortexM4\ARM_GCC_541\Debug\startup_psoc6_01_cm4.o .\CortexM4\ARM_GCC_541\Debug\crc.o .\CortexM4\ARM_GCC_541\Debug\spi.o .\CortexM4\ARM_GCC_541\Debug\hw_config.o .\CortexM4\ARM_GCC_541\Debug\sd_spi.o .\CortexM4\ARM_GCC_541\Debug\sd_card.o .\CortexM4\ARM_GCC_541\Debug\ff_sddisk.o .\CortexM4\ARM_GCC_541\Debug\ff_crc.o .\CortexM4\ARM_GCC_541\Debug\ff_dir.o .\CortexM4\ARM_GCC_541\Debug\ff_error.o .\CortexM4\ARM_GCC_541\Debug\ff_fat.o .\CortexM4\ARM_GCC_541\Debug\ff_file.o .\CortexM4\ARM_GCC_541\Debug\ff_format.o .\CortexM4\ARM_GCC_541\Debug\ff_ioman.o .\CortexM4\ARM_GCC_541\Debug\ff_locking.o .\CortexM4\ARM_GCC_541\Debug\ff_memory.o .\CortexM4\ARM_GCC_541\Debug\ff_stdio.o .\CortexM4\ARM_GCC_541\Debug\ff_string.o .\CortexM4\ARM_GCC_541\Debug\ff_sys.o .\CortexM4\ARM_GCC_541\Debug\ff_time.o .\CortexM4\ARM_GCC_541\Debug\FreeRTOS_CLI.o .\CortexM4\ARM_GCC_541\Debug\CLI-commands.o .\CortexM4\ARM_GCC_541\Debug\CreateAndVerifyExampleFiles.o .\CortexM4\ARM_GCC_541\Debug\demo_logging.o .\CortexM4\ARM_GCC_541\Debug\ff_stdio_tests_with_cwd.o .\CortexM4\ARM_GCC_541\Debug\app4-IO_module_function_checker.o .\CortexM4\ARM_GCC_541\Debug\big_file_test.o .\CortexM4\ARM_GCC_541\Debug\File-related-CLI-commands.o .\CortexM4\ARM_GCC_541\Debug\filesystem_test_suite.o .\CortexM4\ARM_GCC_541\Debug\ff_utils.o .\CortexM4\ARM_GCC_541\Debug\GLCD_Driver.o .\CortexM4\ARM_GCC_541\Debug\GUIConf.o .\CortexM4\ARM_GCC_541\Debug\GUI_X_RTOS.o .\CortexM4\ARM_GCC_541\Debug\LCDConf.o .\CortexM4\ARM_GCC_541\Debug\TM_LCD.o .\CortexM4\ARM_GCC_541\Debug\ui_fsm.o .\CortexM4\ARM_GCC_541\Debug\keypad.o .\CortexM4\ARM_GCC_541\Debug\ble_task.o .\CortexM4\ARM_GCC_541\Debug\status_led_task.o .\CortexM4\ARM_GCC_541\Debug\system_psoc6_cm4.o .\CortexM4\ARM_GCC_541\Debug\main_cm4.o .\CortexM4\ARM_GCC_541\Debug\data_logging.o .\CortexM4\ARM_GCC_541\Debug\rtc.o .\CortexM4\ARM_GCC_541\Debug\running_stat.o .\CortexM4\ARM_GCC_541\Debug\data_buffers.o .\CortexM4\ARM_GCC_541\Debug\normal.o .\CortexM4\ARM_GCC_541\Debug\data_collecting.o .\CortexM4\ARM_GCC_541\Debug\my_test.o .\CortexM4\ARM_GCC_541\Debug\uart_cli.o .\CortexM4\ARM_GCC_541\Debug\stdio_user.o .\CortexM4\ARM_GCC_541\Debug\config.o .\CortexM4\ARM_GCC_541\Debug\simuvib.o .\CortexM4\ARM_GCC_541\Debug\Hourglass_1bpp01.o .\CortexM4\ARM_GCC_541\Debug\cyfitter_sysint_cfg.o .\CortexM4\ARM_GCC_541\Debug\cymetadata.o .\CortexM4\ARM_GCC_541\Debug\UART_1.o .\CortexM4\ARM_GCC_541\Debug\GLCD.o .\CortexM4\ARM_GCC_541\Debug\GLCD_PM.o .\CortexM4\ARM_GCC_541\Debug\UserSDCrd_SPI.o .\CortexM4\ARM_GCC_541\Debug\SysSDCrd1_SPI.o .\CortexM4\ARM_GCC_541\Debug\SysSDCrd0_SPI.o .\CortexM4\ARM_GCC_541\Debug\Sys_I2C.o .\CortexM4\ARM_GCC_541\Debug\IO_SPI.o .\CortexM4\ARM_GCC_541\Debug\ADC_1.o .\CortexM4\ARM_GCC_541\Debug\ADC_1_INT.o .\CortexM4\ARM_GCC_541\Debug\ADC_1_INIT.o .\CortexM4\ARM_GCC_541\Debug\ADC_1_PM.o .\CortexM4\ARM_GCC_541\Debug\BLE.o .\CortexM4\ARM_GCC_541\Debug\BLE_config.o .\CortexM4\ARM_GCC_541\Debug\BLE_dis_config.o .\CortexM4\ARM_GCC_541\Debug\BLE_custom_config.o .\CortexM4\ARM_GCC_541\Debug\RTC_1.o .\CortexM4\ARM_GCC_541\Debug\UserSDCrd_rxDma.o .\CortexM4\ARM_GCC_541\Debug\UserSDCrd_txDma.o .\CortexM4\ARM_GCC_541\Debug\SysSDCrd0_rxDma.o .\CortexM4\ARM_GCC_541\Debug\SysSDCrd0_txDma.o .\CortexM4\ARM_GCC_541\Debug\SysSDCrd1_rxDma.o .\CortexM4\ARM_GCC_541\Debug\SysSDCrd1_txDma.o .\CortexM4\ARM_GCC_541\Debug\cy_dma.o .\CortexM4\ARM_GCC_541\Debug\cy_efuse.o .\CortexM4\ARM_GCC_541\Debug\cy_flash.o .\CortexM4\ARM_GCC_541\Debug\cy_gpio.o .\CortexM4\ARM_GCC_541\Debug\cy_ipc_drv.o .\CortexM4\ARM_GCC_541\Debug\cy_ipc_sema.o .\CortexM4\ARM_GCC_541\Debug\cy_ipc_pipe.o .\CortexM4\ARM_GCC_541\Debug\cy_lvd.o .\CortexM4\ARM_GCC_541\Debug\cy_profile.o .\CortexM4\ARM_GCC_541\Debug\cy_prot.o .\CortexM4\ARM_GCC_541\Debug\cy_rtc.o .\CortexM4\ARM_GCC_541\Debug\cy_sar.o .\CortexM4\ARM_GCC_541\Debug\cy_scb_common.o .\CortexM4\ARM_GCC_541\Debug\cy_scb_i2c.o .\CortexM4\ARM_GCC_541\Debug\cy_scb_ezi2c.o .\CortexM4\ARM_GCC_541\Debug\cy_scb_spi.o .\CortexM4\ARM_GCC_541\Debug\cy_scb_uart.o .\CortexM4\ARM_GCC_541\Debug\cy_sysanalog.o .\CortexM4\ARM_GCC_541\Debug\cy_sysclk.o .\CortexM4\ARM_GCC_541\Debug\cy_sysint.o .\CortexM4\ARM_GCC_541\Debug\cy_syslib.o .\CortexM4\ARM_GCC_541\Debug\cy_syslib_gcc.o .\CortexM4\ARM_GCC_541\Debug\cy_syspm.o .\CortexM4\ARM_GCC_541\Debug\cy_systick.o .\CortexM4\ARM_GCC_541\Debug\cy_trigmux.o .\CortexM4\ARM_GCC_541\Debug\cy_wdt.o .\CortexM4\ARM_GCC_541\Debug\cy_device.o .\CortexM4\ARM_GCC_541\Debug\cy_tcpwm_counter.o .\CortexM4\ARM_GCC_541\Debug\cy_tcpwm_pwm.o .\CortexM4\ARM_GCC_541\Debug\cy_tcpwm_quaddec.o .\CortexM4\ARM_GCC_541\Debug\cy_ble.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_hal_int.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_hal_pvt.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_gap.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_gatt.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_event_handler.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_ancs.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_ans.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_aios.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_bas.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_bcs.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_bls.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_bms.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_bts.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_cgms.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_cps.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_cscs.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_cts.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_custom.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_dis.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_ess.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_gls.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_hids.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_hps.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_hrs.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_hts.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_ias.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_ips.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_lls.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_lns.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_ndcs.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_plxs.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_pass.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_rscs.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_rtus.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_scps.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_tps.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_uds.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_wpts.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_wss.o .\CortexM4\ARM_GCC_541\Debug\cy_ble_clk.o .\CortexM4\ARM_GCC_541\Debug\GUIDRV_Control.o .\CortexM4\ARM_GCC_541\Debug\croutine.o .\CortexM4\ARM_GCC_541\Debug\event_groups.o .\CortexM4\ARM_GCC_541\Debug\list.o .\CortexM4\ARM_GCC_541\Debug\queue.o .\CortexM4\ARM_GCC_541\Debug\tasks.o .\CortexM4\ARM_GCC_541\Debug\timers.o .\CortexM4\ARM_GCC_541\Debug\stream_buffer.o .\CortexM4\ARM_GCC_541\Debug\port.o .\CortexM4\ARM_GCC_541\Debug\heap_4.o .\CortexM4\ARM_GCC_541\Debug\retarget.o .\CortexM4\ARM_GCC_541\Debug\Counter_1.o -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -mthumb -L Generated_Source\PSoC6 -Wl,-Map,.\CortexM4\ARM_GCC_541\Debug/Turb_Mon.map -T cy8c6xx7_cm4_dual.ld -Wl,--gc-sections -g -ffunction-sections -Og -ffat-lto-objects -Wl,--end-group
"C:\Program Files (x86)\Cypress\PDL\3.1.2\tools\win\elf\cymcuelftool.exe" --sign "C:\Users\carlk\Documents\PSoC Creator\Turbmon.cydsn\Turb_Mon.cydsn\CortexM4\ARM_GCC_541\Debug\Turb_Mon_link.elf" --output "C:\Users\carlk\Documents\PSoC Creator\Turbmon.cydsn\Turb_Mon.cydsn\CortexM4\ARM_GCC_541\Debug\Turb_Mon_signed.elf" --hex "C:\Users\carlk\Documents\PSoC Creator\Turbmon.cydsn\Turb_Mon.cydsn\CortexM4\ARM_GCC_541\Debug\Turb_Mon_signed.hex"
No ELF section .cychecksum found, creating one
Application checksum calculated and stored in ELF section .cychecksum
Checksum calculated and stored in ELF section .cymeta
"C:\Program Files (x86)\Cypress\PDL\3.1.2\tools\win\elf\cymcuelftool.exe" --merge "C:\Users\carlk\Documents\PSoC Creator\Turbmon.cydsn\Turb_Mon.cydsn\CortexM4\ARM_GCC_541\Debug\Turb_Mon_signed.elf" "C:\Users\carlk\Documents\PSoC Creator\Turbmon.cydsn\Turb_Mon.cydsn\CortexM0p\ARM_GCC_541\Debug\Turb_Mon.elf" --output "C:\Users\carlk\Documents\PSoC Creator\Turbmon.cydsn\Turb_Mon.cydsn\CortexM4\ARM_GCC_541\Debug\Turb_Mon.elf" --hex "C:\Users\carlk\Documents\PSoC Creator\Turbmon.cydsn\Turb_Mon.cydsn\CortexM4\ARM_GCC_541\Debug\Turb_Mon.hex"
Application checksum calculated and stored in ELF section .cychecksum
Checksum calculated and stored in ELF section .cymeta
"C:\Program Files (x86)\Cypress\PDL\3.1.2\tools\win\elf\cymcuelftool.exe" -A "C:\Users\carlk\Documents\PSoC Creator\Turbmon.cydsn\Turb_Mon.cydsn\CortexM4\ARM_GCC_541\Debug\Turb_Mon.elf"
code:607436 sram:137040
--------------- Build Succeeded: 06/16/2020 08:33:45 ---------------
Programming device 'PSoC 63 CY8C6347BZI-BLD53 (CM4)' with file 'C:\Users\carlk\Documents\PSoC Creator\Turbmon.cydsn\Turb_Mon.cydsn\CortexM4\ARM_GCC_541\Debug\Turb_Mon.hex'.
Device ID Check
Erasing of Main Flash...
Erasing of WFlash...
Programming of Flash Starting...
Protecting...
Verify Checksum...
Finished Programming
Device 'PSoC 63 CY8C6347BZI-BLD53 (CM4)' was successfully programmed at 06/16/2020 08:34:11.
Continuing target program
The target program has stopped at: file: main_cm4.c line: 181 function: main address: 0x1008FADC
Continuing target program
The target program has stopped at: file: my_test.c line: 66 function: my_test address: 0x1009302C
Continuing target program
The target program has stopped at: file: my_test.c line: 68 function: my_test address: 0x10093030
Continuing target program
The target program has stopped at: file: my_test.c line: 70 function: my_test address: 0x10093036
Continuing target program
The target program has stopped at: file: my_test.c line: 71 function: my_test address: 0x1009303A
Continuing target program
The target program has stopped at: file: my_test.c line: 73 function: my_test address: 0x10093048
Continuing target program
The target program has stopped at: file: my_test.c line: 75 function: my_test address: 0x10093050
~"/home/build/work/GCC-5-0-build/src/gdb/gdb/regcache.c:176: internal-error: register_size: Assertion `regnum >= 0 && regnum < (gdbarch_num_regs (gdbarch) + gdbarch_num_pseudo_regs (gdbarch))' failed.\nA problem internal to GDB has been detected,\nfurther debugging may prove unreliable.\nQuit this debugging session? "
~"/home/build/work/GCC-5-0-build/src/gdb/gdb/regcache.c:176: internal-error: register_size: Assertion `regnum >= 0 && regnum < (gdbarch_num_regs (gdbarch) + gdbarch_num_pseudo_regs (gdbarch))' failed.\nA problem internal to GDB has been detected,\nfurther debugging may prove unreliable.\nCreate a core file of GDB? "
Error: dbg.M0015: Debugger exited unexpectedly during run. Encountered error (GDB encountered an error and had to close. See output window for more information. See output window for more information.)
CANCEL
Error: dbg.M0015: Debugger exited unexpectedly during run. Encountered error (GDB encountered an error and had to close. See output window for more information. See output window for more information.)
CANCEL
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi CaKu_4284131,
Please refer to this thread and let me know if the workarounds provided in the thread help - Floating Point Registers and gdb
Thanks and Regards,
Rakshith M B
Rakshith M B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi CaKu_4284131,
Please refer to this thread and let me know if the workarounds provided in the thread help - Floating Point Registers and gdb
Thanks and Regards,
Rakshith M B
Rakshith M B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Rakshith -
This looks worth doing:
11. Re: Floating Point Registers and gdb
Pava_1191361 Apr 30, 2020 12:46 PM (in response to Motoo Tanaka)
I updated to the latest available GCC toolchain (gcc-arm-none-eabi-9-2019-q4-major), which I found at https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-.... When using that toolchain, I was unable to reproduce the issue (while actually slightly reducing somewhat the code- size and the performance, based on the optimize settings).
It might be that the code compiles differently, or perhaps the debugger is now instructed to take these extra registers into account.
From my perspective, the toolchain update fixed the issue.
but does Cypress support that toolchain in PSoC Creator? It looks like a jump from GCC 5.4-2016-q2-update to 9-2019-q4-major. Are there instructions around for upgrading the toolchain?
-Carl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi CaKu_4284131,
I am using Modus toolbox2.1 and tried to build & debug with your program into CM4 of 062-BLE kit.
It is working.
I would appreciate if you could consider it as one of the solutions.
Regards,
Kenshow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
NoTa_4591161 wrote:
Hi CaKu_4284131,
I am using Modus toolbox2.1 and tried to build & debug with your program into CM4 of 062-BLE kit.
It is working.
I would appreciate if you could consider it as one of the solutions.
Regards,
Kenshow
Hi Kenshow-
Thanks, that's good to know.
We did consider Modus Toolbox (MTB), and used it for a little while, but we require support for UDBs, which is something MTB does not do, and we could not find any reasonable way to use PSoC Creator for hardware design and then port that into MTB.
-Carl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I went ahead and installed gcc version 9.3.1 20200408 (release) (GNU Arm Embedded Toolchain 9-2020-q2-update). It seems to work fine, although I am concerned about running an unsupported PSoC Creator configuration. (Why is PSoC Creator still on 5.4-2016-q2-update?) I went back to my test case, and now I don't get the crash. However, no value is displayed for the "v" variable. I guess that's because it's in a register?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi CaKu_4284131,
Upgrading the Toolchain should be okay but just to confirm I have asked our internal teams if they are aware of any issues or corner cases. I will provide a response on this thread as soon as I get an update.
Thanks and Regards,
Rakshith M B
Rakshith M B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi CaKu_4284131,
My apologies for the delay. I received an update from our internal team.
The updated toolchain has not been tested with PSoC Creator internally but it should be compatible. We are not aware of any issues that would prevent the use of the updated toolchain.
However, no value is displayed for the "v" variable. I guess that's because it's in a register?
Yes, the underlying problem is still not fixed: the GDB server (cypsocdebugger) does not support the floating-point registers.
Thanks and Regards,
Rakshith M B
Rakshith M B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So far, so good, with gcc version 9.3.1 20200408. I haven't encountered any problems.