matrix-io / matrix-creator-init

Debian package to initialize MATRIX Creator on boot
https://matrix-io.github.io/matrix-documentation/
7 stars 13 forks source link

sam3 version check changed #36

Open cmetz opened 6 years ago

cmetz commented 6 years ago

I tried my very best, but please test it, i hate bash scripting!

added a new way to check whether a new firmware needs to be programmed into the sam3

kdpatino commented 6 years ago

Hello @cmetz . Thank You! I will test it :+1: If you want to know more about the Software inside the sam3s https://github.com/matrix-io/matrix-creator-mcu

cmetz commented 6 years ago

Hi @kdpatino,

Yeah, i read and compiled it, but first i want to check, if there is way to run and debug firmware without flashing it. Maybe there is a way with the integrated SAM-BA, but i'm a hardware noob.

This pullrequest can be enhanced further, e.g. fixing the boot option without flashing the firmware and vice versa, but i didn't want to make the script even more complex.

I'm still uncertain if its realy bad to flash the exact same firmeware everytime, because there is no explicit erase. (same for the gpnvm bits). i tried googleing it, but did not find any information about it. i'll ask a colleague next week.

i also wrote you a private message in the community. maybe we can discuss there if you have more time, after releasing the kernel drivers... 🥇