oelprinz-org / BlitzboxBL49sp

blitzBOX - low-cost and mini-sized ECU for speeduino firmware (45 x 58 mm)
https://github.com/oelprinz-org/BlitzboxBL49sp
GNU General Public License v3.0
32 stars 12 forks source link

What board to select in tunerstudio? #10

Closed runesmdk closed 8 months ago

runesmdk commented 9 months ago

There's no blitzbox in the dropdown menu of boards

chaoschris commented 9 months ago

Hi Rune, You must use the modified speeduino.ini from

https://github.com/oelprinz-org/BlitzboxBL49sp/tree/master/software/202305/changes/speeduino.ini or https://github.com/oelprinz-org/BlitzboxBL49sp/tree/master/software/202305/reference/speeduino.ini

both are the same

Best regards, Chris

runesmdk commented 9 months ago

Thank you. How to upload the firmware when it comes in hex and bin format? I usually just use speedyloader :D

Den ons. 13. sep. 2023 kl. 09.18 skrev chaoschris @.***

:

Hi Rune, You must use the modified speeduino.ini from

https://github.com/oelprinz-org/BlitzboxBL49sp/tree/master/software/202305/changes/speeduino.ini or

https://github.com/oelprinz-org/BlitzboxBL49sp/tree/master/software/202305/reference/speeduino.ini

both are the same

Best regards, Chris

— Reply to this email directly, view it on GitHub https://github.com/oelprinz-org/BlitzboxBL49sp/issues/10#issuecomment-1717079396, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACODD6DUZT4KOJVKBF2QQIDX2FM5XANCNFSM6AAAAAA4V4FZWI . You are receiving this because you authored the thread.Message ID: @.***>

chaoschris commented 9 months ago

There is no way to upload it with the speedyloader until the blitzbox will be added to the official firmware tree. But also when this is done you need to upload a bootloader in your 2560. So for the moment you need a tool to upload the firmware manually. You can do this with any tool of your choice like usbasp, tinyisp or any cheap arduino board acting as a ISP.

chaoschris commented 9 months ago

also don't forget to set the fuses, the needed settings you can find in https://github.com/oelprinz-org/BlitzboxBL49sp/tree/master/software/202305/fuses.txt

chaoschris commented 9 months ago

You also need to program the 328p for the lambda controller the same way, so you will really need one of these really cheap programmers. I prefer the usbasp and AVRDUDESS as GUI which is really easy to handle and also works well https://blog.zakkemble.net/avrdudess-a-gui-for-avrdude/

runesmdk commented 9 months ago

Okay. I will have to dig into this, never tried it. Have an external wideband controller, so gonna have a look at available pins in the init. When and how does the fuse-programming work, is that while using the isp programmer?

chaoschris commented 9 months ago

Yes, you can do these settings easily with the same tools you are using to flash the MCU. Have a look on the Homepage of AVRDUDESS at https://blog.zakkemble.net/avrdudess-a-gui-for-avrdude/ . There is a picture of the GUI, with this tool it is really easy-going to program the MCUs. If you don't want to spend 2 or 3 dollars for a programmer you can use any available Arduino Board and use it as a ISP programmer. There is plenty of information on the web how to do this,one example here: https://docs.arduino.cc/built-in-examples/arduino-isp/ArduinoISP

runesmdk commented 9 months ago

I uploaded a bootloader with arduino as an isp, showed succes. Soldered usb wires on it (Beware, silkscreen on the pcb regarding D+ and D- is actually backwards), and now it shows as a COM port in device manager. But arduino IDE cannot upload the sketch.

avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_getsync(): timeout communicating with programmer

chaoschris commented 9 months ago

You are talking about the 2560 or the 328P for the lambda?

runesmdk commented 9 months ago

You are talking about the 2560 or the 328P for the lambda?

  1. But i managed to get it working, wrote a how-to on how i did on the speeduino forum.