H8mini_blue_board icon indicating copy to clipboard operation
H8mini_blue_board copied to clipboard

New blue board support ?

Open nicolas-van opened this issue 4 years ago • 4 comments

Hello,

Is there any plan to support the new blue board ? Or do you know someone that managed to flash it ?

Thanks in advance for your answer ;-)

nicolas-van avatar Oct 17 '19 10:10 nicolas-van

Yes I’m having the same troubles. I have managed to read the new code using stm32box software. I can not erase or download .bin file. The device shows up as a stm32L4Qxx or stm32L4Pxx . STM32L is very different microchip. Keil software says not st product.

ImDroning avatar Feb 22 '20 10:02 ImDroning

This is the link where I realized I was in over my head https://stackoverflow.com/questions/43640408/c-code-modification-from-stm32f-to-stm32l

ImDroning avatar Feb 22 '20 10:02 ImDroning

The BIN file I pulled out with STM32_CubeProgrammer (my mistake calling it STM32Box) github doesn't support this type of file being copied. when I convert it to text file it looks like this ] a Õ e g i ‡ k k k k k Ç k - E a k k ? Y à k k Y ­ k k k k k k k k k k k k H…Fðàû H G# qFBÐïó €àïó€qF JGÏ& pGµJjÁHÕ ! àFL!i‰‰ Ð)Ð)Ð)ÐàH àH‘iŠ’!‘@ðú I``J€ð‡ú ½ P lÜ ' $ô @B H Gþçþçþçþçþçþçq pµJ I@LÓC h–BÑhžBÐà ¨BòÓHÿ÷ÿp½ü U3U3¥¥¥¥""pµY!L ˆ"! "#h +ùÐHÀ8AhJ@AAh"CAHh‰ ‰!a‰H %EH@0EH€0E HÀ0EHEI@1H0 ‰ˆcÿ÷jÿ%p½ÿ÷Çÿ ðƒøþç Püüÿü P @ P A P pG¤H¥IÀkˆBÑ pG pGµ¡Lá!I FðCû hð!ˆC 0 I Fð6ûœIhÿ"C ™I@b¶½”IŠiÒ üÕpGµF(Ð ð ù ‘I€ˆaÿ÷ ÿI ÿ÷Íÿ½øµ & ðýø‹HÀ8AhŠJ@AAh"CA Akÿ"2‘CAcAkAcI ‚OøjD €H€8 jCÿ -0 ðÐú|Od%€?àzHÀjD 8jC´BÐ&Fd% ðÀúmñÒ Fø½øµsL %¥ ÿ!@ ðœúÿ÷ÿ&(Ñ h0C  i0C aÿ÷±ÿ(Ðÿ÷­ÿ%-(Ð ðûF )-Ð/àð1ÿ_L€<¥ ð‘þ ð|þ¦ ðÑúÿ÷^ÿ!Jà ðíúÿ÷XÿWI(F ðfúh (üÐ ! ðcúðTÿ (Ñ h!ÉC ! /à¡hC¡!iC!aÿ÷9ÿHHHI(F ðEú`h (üÐFH@hÿ÷Nÿ%

Again Way over my head. Please take the H8 mini off the NFE silverware upgade list if it is not compatible with the coding

Thank you for all your help, Imdroning

ImDroning avatar Feb 22 '20 16:02 ImDroning

I messed around with this as well some time ago, without much results. But today when I wanted to check if there have been any breakthroughs since then, I stumbled upon the datasheet of the chip -> http://bbs.panchip.com/forum.php?mod=viewthread&tid=36 (I don't think this link was available back then, there also seems to be a flashing description?)

And while I'm here I guess I might as well write about my other findings from back then: I used an ST-Link V2 for connecting to the board, though couldn't really get far with the recommended GUI tools.

After messing/searching around a bit (I was and still am fairly unexperienced with this kind of hardware interfacing) I learned about openocd and was able to figure out the idcode of the board being 0x0bb11477, indicating an stm32f0x-like configuration.

Using openocd's numicro target (its not really this target, but the configuration is similar enough) I was also able to connect to the board and issue commands, like halting/resuming the cpu and reading registers/memory.

The parts that I was able to dump weren't really useful back then, but now with the datasheet they might be, so I'll attach the most interesting parts here -> dumps.zip (openocd might have automatically swapped the data, so I'm not sure if the endianness is correct)

Unfortunately I was unable to locate the SCS_CPUID value anywhere in the dumped memory, the value at the documented memory offset reads 0x410cc200 (should be 0x0bb11477), though maybe I'm not reading it correctly.

Anyway, hope this helps in some way. It would be nice if this board could still be hacked with custom firmware for some acro flying :)

PS: @ImDroning Text encoding is not really useful for binary data, you might want to put that file in a zip archive and upload that instead (or just rename the extension to something Github allows)

Zapeth avatar Sep 11 '20 20:09 Zapeth