flyweight303 Posted March 28, 2015 Report Share Posted March 28, 2015 Today I soldered together the core PCB from Smashtv. Looking really forward to building the midibox. But i ran in a problem and not able to flash the bootloader When i connect the STM32F407 with a mini-usb cable (only discovery connected via mini usb). jumpers CN3, JP1,2,3 are connected.LD2 blinks a couple of times and then nothing. The board is laying on my wooden desk. When i turn it LD1 starts blinking and the 4 colour leds start rotating. I installed the signed Win8.1 driver, and the latest st util. Sometimes i get an error that the usb device descriptor request failed, or sometimes nothing. In the device manager i can sometimes find the devices as unkown usb device, selecting the driver by hand fails. I tried to disable driver signing, varios different versions of the driver but no luck. If i start ST util and try to detect the board the program craches. Are there some problems with win 8.1 (i found quite some issues with win8 but mainly from a while back when there was no signed driver yet) or do i need a specific mini usb cable? Any hint is very welcome, meanwhile i will get a new mini usbcable. Best regards, Tim Quote Link to comment Share on other sites More sharing options...
flyweight303 Posted March 29, 2015 Author Report Share Posted March 29, 2015 Issue was due to the cable, now with a new micro usb cable and the stlink util in compat winxp sp3 mode everything is fine Quote Link to comment Share on other sites More sharing options...
flyweight303 Posted March 29, 2015 Author Report Share Posted March 29, 2015 (edited) So i managed to flash the core with the mios bootloader and sequencer 4 application. I first flashed midibox_seq_v4_088_pre9 but the sd card is not detected (4GB fat32). Messages: SD card not mounted If i take the sd in and out while connected to miosstudio nothing happened. i reverted to midibox_seq_v4_087, and also tried the GM midi driver but MIOSStudio fails to see the SD card. I used the following reader, and soldered pin 3 and 4 together. http://katalog.we-online.de/em/datasheet/693061010911.pdf Pinount from sdcard holder solderjoints to the STM32F4 core board. -8 not connected -7 PA6 -6 GND -5 SCK PA5 -4 VDD -3 GND -2 PC5 -1 P82 -9 GND The sd cards holder case is also connected to ground. Does anyone see a mistake? how should any SDcard be connected to the Coreboard? otherwise i can still try it with wires. How i can further test if the coreboard is soldered ok? The 1k resistor network is soldered with the letters faced to the right of the board.The ic's are connected as displayed on the board. Any help more then welcome, Best regards Tim Edited March 29, 2015 by flyweight303 Quote Link to comment Share on other sites More sharing options...
flyweight303 Posted March 29, 2015 Author Report Share Posted March 29, 2015 (edited) When is send the SDCARD command via MIOS studio then get error: reading CID, CSD -256, SD Card not connected. Is there some way to force the card detection on the socket to be always thrue? I might soldered the socket wrong so the card detection does not work. Edited March 29, 2015 by flyweight303 Quote Link to comment Share on other sites More sharing options...
CJ55 Posted March 29, 2015 Report Share Posted March 29, 2015 Why did you solder pin 3 and pin 4 together??? Quote Link to comment Share on other sites More sharing options...
flyweight303 Posted March 29, 2015 Author Report Share Posted March 29, 2015 Check the data sheet, I used that holder, it has 1 pin more than the one on the original bom. So pin 3 and 4 are on the holder not pin 3 and 4 on the PCB, or on the actual sdcard Quote Link to comment Share on other sites More sharing options...
CJ55 Posted March 29, 2015 Report Share Posted March 29, 2015 Yes, that is a bit confusing. According to the data sheet Pin 3 is GND and Pin 4 Power Supply. Quote Link to comment Share on other sites More sharing options...
flyweight303 Posted March 29, 2015 Author Report Share Posted March 29, 2015 Mmm OK so if you check the pin out how I have it connected it looks fine. I now start to doubt if the core board is correctly working. I think I need to check if 3.3v is going to the sdcard. Quote Link to comment Share on other sites More sharing options...
CJ55 Posted March 29, 2015 Report Share Posted March 29, 2015 (edited) Maybe this is helpful: This is the SD card holder I use: http://www.mouser.com/ds/2/1/ts2198-49568.pdf The main difference is that your card holder has an additional unnamed pin between pin 2 and 3. This is how my card holder is connected: 9 GND 1 PB2 2 PA7 3 GND 4 +3.3V 5 PA5 6 GND 7 PA6 8 not connected Edited March 29, 2015 by CJ55 Quote Link to comment Share on other sites More sharing options...
flyweight303 Posted March 30, 2015 Author Report Share Posted March 30, 2015 Thanks CJ55, it looks my holder is correctly installed. I will check if 3.3v is coming in on pin 4. Quote Link to comment Share on other sites More sharing options...
CJ55 Posted March 30, 2015 Report Share Posted March 30, 2015 Some posts ago you wrote you have pin 2 connected to PC5, but it has to be PA7. And do not connect pin 3 (GND) with pin 4 (+3.3V)! Quote Link to comment Share on other sites More sharing options...
flyweight303 Posted March 30, 2015 Author Report Share Posted March 30, 2015 MmM i just removed the extra pin. desoldered it and bend it slightly to remove the contact. On 3 places i measure 3v is this OK? I am afraid i toasted the data pins from the stm32f4..... Quote Link to comment Share on other sites More sharing options...
sneakthief Posted March 31, 2015 Report Share Posted March 31, 2015 3V is OK - the STM32F4 Discovery seems to use 3V instead of 3.3V Quote Link to comment Share on other sites More sharing options...
flyweight Posted March 31, 2015 Report Share Posted March 31, 2015 Ok sneakthief, good to hear, with the extra pin not connected i still don.t have any luck to get the card detected. Quote Link to comment Share on other sites More sharing options...
flyweight303 Posted April 4, 2015 Author Report Share Posted April 4, 2015 Still no luck with the SDcard, All pins are connected ok. 9 NC 1 PB2 2 PA7 3 GND 4 VDD 3v 5 PA5 6 GND 7 PA6 8 NC SD cards Shield connected to GND When connected to micro usb LD1 is blinking. When ejecting or inserting the SD card nothing hapens. 3 v is available on pin 4 and 2 data lines The correct IC's in the sockets, the resistor network connect with common pin on 1. After flashing the seq4 app should some jumpers be removed? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.