I too had this issue, and I suppose this is something that has affected many users since the newer versions of sdcc. Try to downgrade to an older version of sdcc.Did everything in the new controller, problem I can't connect with the bluosec it crashes few seconds after trying to connect, don't know how to fix that
in case someone is struggling to get BluOSEC app to work (it crashes on start), here's what you can try.
The culprit is SDCC 4.2.0, which for some reason doesn't want to operate properly with current master branch. The results are the following:
The solution for this should be fairly simple. Uninstall SDCC 4.2.0, reboot your machine, and then install SDCC 4.1.0 (2nd reboot just in case)
- It renders previously flashable setups corrupt (controller will drain only 20mA)
- Flashing freshly cloned master will result in BluOSEC app crashing
- Produces otherwise no errors anywhere (log, onscreen)
4.1.0 package can be found here: Small Device C Compiler - Browse /sdcc-win64/4.1.0 at SourceForge.net
I have also archived it in case the repo goes offline at some point.
I'm hoping to add full explanation to the wiki at some point, but recently got quite busy at work.