Open SarwarN88 opened 3 years ago
Just an update. Today I tested an original STM32 (STM32F103C8T6) and flashed the .hex file. The pc recognised the usb device as a joystick. So it look like the Maple mini STM32F103CBT6 is not supported.
Yes, there are some periphery differences between C8 and CB lines
I am currently working to configure the device in the configuration software. There are many issues:
@SarwarN88 , The original STM32 you are testing, was that a "blue pill" board? I have two that I've been trying to program for a couple of days now. ST Link programs them and verifies the writes fine, but once it I plug it into USB it does not appear at all.
I have visually verified that R10 is 1.5K Ohms, per http://amitesh-singh.github.io/stm32/2017/05/27/Overcoming-wrong-pullup-in-blue-pill.html , maybe I need to measure it to confirm for sure.
@vostrenkov Is there documentation for known troubleshooting steps? One of the steps in the wiki was to erase the memory, but that failed; but write+verify worked fine.
14:56:53 : ST-LINK SN : 48FF740671XXXX1267 14:56:53 : V2J29S7 14:56:53 : Connected via SWD. 14:56:53 : SWD Frequency = 1,8 MHz. 14:56:53 : Connection mode : Normal. 14:56:53 : Debug in Low Power mode enabled. 14:56:53 : Device ID:0x410 14:56:53 : Device flash Size : 64KBytes 14:56:53 : Device family :STM32F10xx Medium-density 14:56:59 : Error occured during flash mass erase!
14:59:18 : ST-LINK SN : 48FF7406718XXXXXX461267 14:59:18 : V2J29S7 14:59:18 : Connected via SWD. 14:59:18 : SWD Frequency = 1,8 MHz. 14:59:18 : Connection mode : Normal. 14:59:18 : Debug in Low Power mode enabled. 14:59:18 : Device ID:0x410 14:59:18 : Device flash Size : 64KBytes 14:59:18 : Device family :STM32F10xx Medium-density 14:59:24 : [FreeJoy_v1_6_2b4.hex] opened successfully. 14:59:24 : [FreeJoy_v1_6_2b4.hex] checksum : 0x009AB24D 14:59:43 : Memory programmed in 5s and 47ms. 14:59:43 : Verification...OK 14:59:43 : Programmed memory Checksum: 0x009AB24D 14:59:53 : Disconnected from device.
Is there documentation for known troubleshooting steps? One of the steps in the wiki was to erase the memory, but that failed; but write+verify worked fine
That is the problem they mention it in the form and I think its related to the windows. My Blue pill STM32F103C8T6 also failed to connect using ST-LINK software or to erase memory. The solution is to connect 10K resistor from reset pin to ground. After you connected the resistor, in the ST link click erase memory and press ok. As soon as you did that, remove the resistor before the failed massage shows up. If you did that successfully the memory will be force erased. For the compatibility, as I mention above my Maple Mini STM32F103CBT6 was not showing up after flashing the farmwear. so its not supported by the joystick software at the moment.
my problem after flashing the hex file was the USB cable used, replacing it with an Amazonbasic the device was detected
Hi again, Thanks for adding MLX90393 to the project. I am currently using Maple mini that is based on STM32F103CBT6. I flashed the .hex file to my board using ST-Link v2. However, when I connect the device to my pc using usb it doesn't connect. It not even showing that a usb device is connected. Do I need to flash all the 3 files inside the FreeJoy_v1_6_2b3.zip or just the .hex file? When I flash back the original bootloader everything work fine. So the problem is not in the cable or the maple mini device.
Thanks again