-
Notifications
You must be signed in to change notification settings - Fork 1
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
Optiboot/Arduino compatibility #1
Comments
Hi, I've implemented an Optiboot-LIKE bootloader for my FlashForth-derivate. It's capable of burning Arduino-sketches, but won't start it correctly, because it's left by jumping to the OptiForth-warm-start-vector (in the very last word preceeding the bootloader), instead of jumping to FLASH address 0x0000 to start an Arduino-application. Both issues need to be solved to make it an universal Arduino-/OptiForth-bootloader (but there is not a byte left in the bootloader section) Greets bitflipser |
Hi, I've implemented an Optiboot-LIKE bootloader for my FlashForth-derivate. It's capable of burning Arduino-sketches, but won't start it correctly, because it's left by jumping to the OptiForth-warm-start-vector (in the very last word preceeding the bootloader), instead of jumping to FLASH address 0x0000 to start an Arduino-application. (Both issues need) Only this issue needs to be solved to make it an universal Arduino-/OptiForth-bootloader (but there is not a byte left in the bootloader section). Ideas? Greets bitflipser |
Done! ... in terms of loading and running Arduino sketches the same way Optiboot does, or loading OptiForth5.6d as simple as an Arduino sketch and running it from the 'empty' state (user dictionary empty). But it's not possible to load FF, OptiForth52 or FF-/OptiForth-binaries! Works with OptiForth56d ONLY. Try 'OptiForth56d_boot_beta.hex' rsp. 'OptiForth56d_beta.hex'. Greets bitflipser |
Very exciting! I wish I was able to try it at the moment (tools locked-down out of reach) |
After some month of trying and testing: |
Hi,
This is very much what I wanted some time ago. As they say, "Great minds..." or "fools seldom differ"
I'm not sure if you have just implemented an optiboot-like bootloader for flashforth, or if you have made an optiboot+arduino-compatible bootloader that can load both arduino sketches and optiforth binaries
What I was wanting to achieve is:
Make a FF+Optiboot default factory rom for arduinos that runs FF out of the box, but is still fully arduino usable i.e you can load arduino sketches into it. (perhaps/probably losing FF when you do)
a FF binary that is loadable into an optiboot/optiforth arduino from the arduino environment without needing an AVR programmer, and without rendering the AVR incompatible with arduino. Once flashed with Optiboot or Optiforth, FF becomes an option for an arduino user to try, without sacrificing arduino compatibility
The endgame is being able to buy an OptibootFlashForth ready to run off aliexpress
Initial discussion about using Optiboot in FF
Optiboot ref to writing flash
The text was updated successfully, but these errors were encountered: