my st-link v2 app said File size is bigger than the flash memory size.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-04-06 3:33 AM - edited 2024-04-06 4:13 AM
当我想进入程序时,应用程序说“文件大小大于等于大小。”
我的文件是.hex
怎么解决这个问题呢?
stm32f103c8t6
18:55:25:与设备断开连接。
18:55:27 : ST-LINK SN
18:55:27 : V2J34S7
18:55:27 : 通过 SWD 连接。
18:55:27:SWD 频率 = 4.0 MHz。
18:55:27:连接模式:正常。
18:55:27:启用低功耗模式下的调试。
18:55:27:设备 ID:0x412
18:55:27:设备闪存大小:32KBytes
18:55:27:设备系列:STM32F10xx 低密度
18:55:44:文件大小大于闪存大小。
19:03:12 : [FreeJoy_v1_7_1b2.hex] 打开成功。
19:03:12 : [FreeJoy_v1_7_1b2.hex] 校验和 : 0x0096951C
19:03:20 : 文件大小大于闪存大小。
19:03:42 : 文件大小大于闪存大小。
19:05:40 : [FreeJoy_v1_7_1b2.bin] 打开成功。
19:05:40 : [FreeJoy_v1_7_1b2.bin] 校验和 : 0x0036395C
19:05:48 : 文件大小大于闪存大小。
19:09:47 : [FreeJoy_v1_01b4.hex] 打开成功。
19:09:47 : [FreeJoy_v1_01b4.hex] 校验和 : 0x00C6B4F8
19:09:56 : 文件大小大于闪存大小。
19:11:46:闪存已擦除。
19:12:01 : 文件大小大于闪存大小。
- Labels:
-
Bug-report
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-04-16 7:55 AM - edited 2024-04-16 8:20 AM
Hello @ikun
Could you please provide additional details about the issue? What is the version of STM32Cube Programmer are you using? What is the size of your file?
Thanks
Omar
Thanks
Omar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-04-16 9:14 AM
A 35KB binary is NOT going to fit on a part with 32KB of FLASH
>>How to solve this problem?
Perhaps program it on to a suitable part, or build in a way that's physically smaller?
https://github.com/FreeJoy-Team/FreeJoy/releases
https://github.com/FreeJoy-Team/FreeJoy/releases/download/v1.7.1b3/FreeJoy_v1_7_1b2.zip
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-04-16 9:14 AM
When I want to enter the program, the application says "File size is greater than or equal to size."
My file is .hex
How to solve this problem?
stm32f103c8t6
18:55:25: Disconnected from device.
18:55:27 : ST-LINK SN
18:55:27 : V2J34S7
18:55:27 : Connect via SWD.
18:55:27: SWD frequency = 4.0 MHz.
18:55:27: Connection mode: Normal.
18:55:27: Enable debugging in low power mode.
18:55:27: Device ID: 0x412
18:55:27: Device flash size: 32KBytes
18:55:27: Device family: STM32F10xx low density
18:55:44: File size is larger than flash size.
19:03:12: [FreeJoy_v1_7_1b2.hex] opened successfully.
19:03:12 : [FreeJoy_v1_7_1b2.hex] Checksum: 0x0096951C
19:03:20 : File size is larger than flash memory size.
19:03:42 : File size is larger than flash size.
19:05:40: [FreeJoy_v1_7_1b2.bin] opened successfully.
19:05:40 : [FreeJoy_v1_7_1b2.bin] Checksum: 0x0036395C
19:05:48 : File size is larger than flash memory size.
19:09:47: [FreeJoy_v1_01b4.hex] opened successfully.
19:09:47 : [FreeJoy_v1_01b4.hex] Checksum: 0x00C6B4F8
19:09:56 : File size is larger than flash memory size.
19:11:46: Flash memory erased.
19:12:01 : File size is larger than flash size.
Up vote any posts that you find helpful, it shows what's working..
