board maple-mini, no BMP upload option et al (gdb)

Posts: 975
Joined: Wed Jul 08, 2015 2:09 pm
Location: St Annes, Lancs,UK

board maple-mini, no BMP upload option et al (gdb)

Postby zmemw16 » Thu Oct 08, 2015 11:20 pm

or am i as usual missing something
so i thought i'd try out the BMP i'd flashed, got throughly confused and ended up with 2 BMP'd pills, one of each

sussed that and re-BMP'd the red one, now it's ~/bin/write-BMP explicitly using ~/bin/BMP/st-flash from the the arduino upload log and the ~/bin/BMP/blackmagic.bin file from the first post zip file.

changed the blue pill to a blue BAITE mini, of course the photo having both red pill bmp and baite target wired together was a good reason

i set the board as maple-mini and there's no BMP upload option.

looked at the circuits and i think it can be set to be a generic stm32f103 option c8t6, which would return the BMP option

lsusb gives

Code: Select all

Bus 003 Device 124: ID 1d50:6018 OpenMoko, Inc.
Bus 003 Device 115: ID 1eaf:0003 

and device wise it's

Code: Select all

$comms ## another ~/bin ls -lt /dev | egrep 'ttyA|ttyU'
crw-rw----  1 root dialout   166,   0 Oct  8 16:15 ttyACM0
crw-rw----  1 root dialout   166,   1 Oct  8 16:15 ttyACM1
lrwxrwxrwx  1 root root             7 Oct  8 12:50 maple_2 -> ttyACM2
crw-rw-r--  1 root dialout   166,   2 Oct  8 12:50 ttyACM2

when i tried it with the original two pills i got through the gdb bit to the line

Code: Select all

target extended-remote /dev/ttyACM0

as in the first post where it froze? hence the re-arrange of pills/baite

versions arduino 1.6.5 stm32duino as of 090915 i thought, excepting that the STM32duino-bootloader and drivers directories are 220915 for some reason; but it's pretty much the latest/current github
actually that's been static for a while:-) i keep looking..

i'll re-read that thread again as i'm not quite sure which ACM port to use for upload
i think it's
acm0 is bmp/gdb
acm1 is for upload through to target
acm2 is arduino serial monitor


User avatar
Rick Kimball
Posts: 724
Joined: Tue Apr 28, 2015 1:26 am
Location: Eastern NC, US

Re: board maple-mini, no BMP upload option et al (gdb)

Postby Rick Kimball » Thu Nov 05, 2015 10:59 pm

If you use a terminal emulator at 115200 (typically /dev/ttyACM0), the BMP port will print


/dev/ttyACM1 is the virtual com port

Things to check:

1.) udev permissions

Return to “Black Magic Probe & other”

Who is online

Users browsing this forum: No registered users and 1 guest