Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CC3200 EMT — Error, size if data (1234045) is too big to write #6

Closed
robertinant opened this issue Dec 23, 2016 · 2 comments
Closed

Comments

@robertinant
Copy link
Member

From @rei-vilo on December 21, 2016 15:25

Once #12 has been fixed with suggested command, upload fails due to too big file to write.

Resulting MultiBlink_CC3200.ino.elf for the MultiBlink.ino example weights 1234045 whereas arm-none-eabi-size MultiBlink_CC3200.ino.elf gives 33833.

  • Files sizes
ls -all /var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/buildcf7d690e97b58be70057bbfed06e8f9b.tmp
total 4512
drwxr-xr-x   10 reivilo  staff      340 21 déc 16:16 .
drwx------@ 122 reivilo  staff     4148 21 déc 16:17 ..
-rwxr-xr-x    1 reivilo  staff  1234045 21 déc 16:16 MultiBlink_CC3200.ino.elf
-rw-r--r--    1 reivilo  staff  1062939 21 déc 16:16 MultiBlink_CC3200.ino.map
-rw-r--r--    1 reivilo  staff      717 21 déc 16:16 build.options.json
drwxr-xr-x    4 reivilo  staff      136 21 déc 16:16 core
-rw-r--r--    1 reivilo  staff      699 21 déc 16:16 includes.cache
drwxr-xr-x    2 reivilo  staff       68 21 déc 16:15 libraries
drwxr-xr-x    3 reivilo  staff      102 21 déc 16:15 preproc
drwxr-xr-x    7 reivilo  staff      238 21 déc 16:16 sketch
  • Upload
$ /Users/ReiVilo/Library/Energia15/packages/energia/tools/cc3200prog/1.1.4/cc3200prog /dev/cu.usbserial-cc3200B /var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/buildcf7d690e97b58be70057bbfed06e8f9b.tmp/MultiBlink_CC3200.ino.elf 
Open UART /dev/cu.usbserial-cc3200B
open UART success
Getting storage list
Bootloader Version: 3
Silicon version ES1.32 or higher
Bootloader version is 2, 0, 3, 2
It's a CC3200 device: PG1.32
BlockSize is 4096, number of blocks is 64
erasing 1 blocks starting from  4
Switch to NWP bootloader complete
Load common boot command for PG1.32
Bootloader version is 2, 0, 3, 4
BlockSize is 4096, number of blocks is 16
erasing 12 blocks starting from  0
erasing file "/sys/mcuimg.bin"
deleting file "/sys/mcuimg.bin"
erase file completed
--- Invalid file size ---
Error, size if data (1234045) is too big to write
  • Size
$ /Users/ReiVilo/Library/Energia15/packages/energia/tools/arm-none-eabi-gcc/4.8.4-20140725/bin/arm-none-eabi-size /var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/buildcf7d690e97b58be70057bbfed06e8f9b.tmp/MultiBlink_CC3200.ino.elf 
   text	   data	    bss	    dec	    hex	filename
  26013	   4532	   3288	  33833	   8429	/var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/buildcf7d690e97b58be70057bbfed06e8f9b.tmp/MultiBlink_CC3200.ino.elf
``

_Copied from original issue: energia/cc3200-core#13_
@robertinant
Copy link
Member Author

From @rei-vilo on December 21, 2016 15:41

Reminiscent of energia/Energia#443?

@rei-vilo
Copy link
Member

This issue was caused by the package provided by the link for the beta, which pointed to the wrong package, actually the CC3200 standard boards.

This issue is solved with the right cc3200emt-core package.

This issue can be closed now. I don't have the credentials on this repository for closing it myself. Thank you.

@rei-vilo rei-vilo closed this as completed Jan 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants