<tp> tabemann, hahah, gronk:/home/tp:#arm-none-eabi-gdb -ex "target extended-remote /dev/cuaU0"
<tp> GNU gdb (GDB) 7.10
X-Scale` has joined #forth
X-Scale has quit [Ping timeout: 264 seconds]
X-Scale` is now known as X-Scale
Zarutian_HTC has quit [Read error: Connection reset by peer]
Zarutian_HTC has joined #forth
iyzsong has joined #forth
jedb has joined #forth
jedb_ has joined #forth
jedb has quit [Ping timeout: 260 seconds]
jsoft has quit [Ping timeout: 246 seconds]
X-Scale` has joined #forth
reepca has quit [Read error: Connection reset by peer]
reepca has joined #forth
X-Scale has quit [Ping timeout: 265 seconds]
X-Scale` is now known as X-Scale
boru` has joined #forth
boru has quit [Disconnected by services]
boru` is now known as boru
jsoft has joined #forth
dave0 has quit [Quit: dave's not here]
<tabemann> back
iyzsong has quit [Ping timeout: 260 seconds]
iyzsong has joined #forth
iyzsong- has joined #forth
iyzsong has quit [Ping timeout: 258 seconds]
reepca has quit [Read error: Connection reset by peer]
reepca has joined #forth
reepca has quit [Read error: Connection reset by peer]
reepca has joined #forth
<tp> hey tabemann
Zarutian_HTC| has joined #forth
Zarutian_HTC has quit [Read error: Connection reset by peer]
<tabemann> hey
<tp> tabemann, I've flashed a blue pill with the blckmagic probe software
<tp> it provides a GDB server and a serial port via usb virt com ports
<tp> #arm-none-eabi-gdb -ex "target extended-remote /dev/cuaU0"
<tp> GNU gdb (GDB) 7.10
<tp> Copyright (C) 2015 Free Software Foundation, Inc.
<tabemann> cool
<tp> as it has SWD capabilty, it's probably better than using stlink
<tp> because it's all on a stm32f103
<tp> something for crest to look into if he's interested
<tabemann> I'm really frustrated with the stlink people
<tp> I'll be using it from now on because stlink and openocd wont build under openindiana
<tp> yeah, theyre a bit leet
<tabemann> they basically said don't use stlink 1.6.1 because they won't fix it
<tp> I refuse to use the software
<tp> it as buggy as a anthill
<tabemann> right now I'm using stlink 1.6.0 installed from source
<tabemann> which works fine for me
<tp> but given their attitude Im not surprised
<tp> a $2 blue pill would work the same with blackmagic probe
<tabemann> they were like "oh the shared library wasn't really meant for public consumption so we're not really supporting it"
<tp> thi youd need some wires
<tp> hahah
<tp> I see now why people favor the blackmagic stuff, it's all self contained for gdb
<tp> no farting around
<tabemann> I don't like the idea of working with blue pills though for some reason
<tp> hahah
<tp> you dodnt have to
<tp> you flash the blackmagic binary and thats it
<tp> besides, youre using the mcu now
<tp> there is a stm32f103 in your disco boards
<tp> i need to mod the source in the blackmagic to add RTS handshaking before it's 100% useful to me
<tp> tabemann, hey I compiled Fossil SCM under openindiana last night, that course is just beautiful
<tp> what a difference to the stlink and openocd stuff
<tp> course = source
<tabemann> back
<tabemann> my main concern is that with a blue pill who knows what chip it contains
<tp> thats true
<tabemann> whereas with a disco board you know that it's a real stm32f103
<tp> exactly
<tp> one can always buy a blackmagic board
<tp> but yeah, it's a crapshoot with the bluepill
<tabemann> is there a manufacturer that you can buy a real blue pill from? is that what the maple mini IIRC is?
<tp> I had 10 boards with stm32f103's I bought from china, not bluepills but electrically the same, thats what I used with the blackmagig fw
<tp> yeah, but even then any board from china may have the fakes
<tp> even boards sold in the USA cheap come from china
<tabemann> I mean buying it directly from the original manufacturer
<tp> oh! there is a stmf4 diso blackmagic probe fw
<tabemann> like when I bought my disco boards I bought them directly from STMicroelectronics
<tp> I dont know anything about it
<tp> dunno re the maple, but people asked me to add suport for it to my stm32f103-diags app
<tp> Links
<tp> -----
<tp> Blackmagic Binaries
<tp> -------------------
iyzsong- has quit [Quit: ZNC 1.8.0 - https://znc.in]
* tabemann doesn't trust the chinese with parts that could be counterfeit in the first place (as opposed to generic parts)
<tp> with very good reason
<tp> one cant trust most chineese stuff
<tp> not mcu's
<tp> hell not IC's
<tp> tabemann, I see the Chinese SWD programmers come with the GD32f103 clone chips now
<tp> or he CS32F103, I think thats it
<tp> it's close enuf to work
<tp> it even uses the STM FW !
<tabemann> the stuff that I'll buy chinese are stuff like USB cables, serial dongles, dupont cables, USB breakout boards, stuff like that
<tp> yeah
<tabemann> like with my MCU board, for my (yet unused) RPi I bought it from an officially licensed distributor, so I knew it was kosher
<tabemann> *boards
<tabemann> Adafruit I think it was
gravicappa has joined #forth
<tp> rpi's arent cloned I believe
<tp> and adafruit, seed studio etc are all ok, like mousser
<tp> avenet etc
<tabemann> I can't believe that I bought an RPi just to have one, when I had no projected use at the time and still have no projected use in the future
<tp> oh, the blackmagic stuff can also run on a rpi I believe
<tp> so a rpi cn be a gdb server, htag and swd programmer
<tabemann> hmm that way I can actually use my rpi for something
<tabemann> question - do rpis default to having a serial console over USB
<tabemann> because it does have an HDMI (mini?) port
<tabemann> but I don't want to hook up a monitor
<tp> depends, I usually use ssh for a console over ethernet to one
iyzsong has joined #forth
<tp> when you configure raspbian you add a file in the SD card that tells it to use SSH by default
<tp> I use them a fair bit
<tabemann> what do you need when configuring raspbian?
<tp> theyre very useful, but sadly not all x86 source will work on them
<tp> not much, a SD card and a rasbian image
<tabemann> I have that
<tp> it's a very handy spare computer
<tp> I used one as a e4thcom terminal for a year of so
<tabemann> so you have to hook up an SD card writer to write to the card to write the relevant files, then insert it in the board?
<tp> theyre a bit slow compared to a decent pc, for instance stuff that takes 10 minutes on this can take 24 hrs on a rpi
<tp> no you just dl the raspbian image, write it to the card, mont the card on your pc and create a simple file with the ssh thing
<tp> a Google will find it
<tp> the machine then boots up and gets a IP and you ssh to that and youre in
<tp> damn compiling blackmagic probe isnt easy, this Linux source is terrible
<tabemann> how do you configure the users - does it just allow you to root in without a passwd?
<tp> once, Linux people did source perfectly
<tabemann> assuming that you'll change the root passwd afterwards
<tp> iirc when you log in first tiMe it then sets that up
<tp> it's all dead easy
<tp> thats why the rpi is so popular
<tp> I have about 5 of them
* tabemann will need to invest in a couple short ethernet cables and, unless he can find the one he has, a switch
<tp> hahah
<tp> $17 for a 5 port switch
<tp> $5 a ethernet cable
<tabemann> anyways, I'm falling asleep, and will get the stuff needed for interfacing with that rpi when I get around to actually needing a blackmagic probe
<tp> no problemo
<tp> nighto
<tabemann> g'night
dddddd has quit [Ping timeout: 246 seconds]
clog has quit [Ping timeout: 256 seconds]
clog has joined #forth
iyzsong has quit [Quit: ZNC 1.8.0 - https://znc.in]
jedb_ is now known as jedb
nmz has quit [Ping timeout: 260 seconds]
lonjil2 is now known as lonjil
WilhelmVonWeiner has quit [Ping timeout: 272 seconds]
presiden has quit [Ping timeout: 260 seconds]
jsoft has quit [Ping timeout: 240 seconds]
<tp> the really important thing with open stlink is that they have a 'code of conduct'. Code quality is secondary to that
<tp> tabemann, the really important thing with open stlink is that they have a 'code of conduct'. Code quality is secondary to that
clog has quit [Ping timeout: 260 seconds]
iyzsong has joined #forth
dddddd has joined #forth
iyzsong has quit [Quit: ZNC 1.8.0 - https://znc.in]
clog has joined #forth
TCZ has joined #forth
presiden has joined #forth
TCZ has quit [Quit: Leaving]
nmz has joined #forth
Zarutian_HTC| has quit [Ping timeout: 260 seconds]
Vedran has quit [Quit: The Lounge - https://thelounge.github.io]
Vedran has joined #forth
Zarutian_HTC has joined #forth
jedb has quit [Ping timeout: 256 seconds]
dys has quit [Ping timeout: 256 seconds]
dys has joined #forth
dave0 has joined #forth
reepca has quit [Read error: Connection reset by peer]
reepca has joined #forth
gravicappa has quit [Ping timeout: 246 seconds]
TCZ has joined #forth
TCZ has quit [Quit: Leaving]
<crest> tp: they don't support third party code calling their precious shared library *eye* *rolling*
<crest> but the openocd documentation far from ideal
<crest> as far as i can tell they do offer access to registers and sram but only over a line based text protocol
<crest> and it looks like they're attempting to create the "egg-laying, milk-bearing woolly sow"
<crest> (i don't know the correct translation of eierlegendewollmilchsau to english)
<crest> tabemann: would it work for you to rename your makefile to GNUmakefile?
<crest> afaik gmake looks for that name before Makefile
<crest> that would enable you to use the shell builtin to discover the right name (libstlink vs libstlink-shared)
<tabemann> back
* tabemann versteht "Eierlegendemilchsau"
<tabemann> you could do that
* tabemann just renamed "Makefile" to "GNUmakefile" in his code
<crest> tabemann: and i got rid of endian.h
<tabemann> hopefully we'll be able to unify swd2.c
<crest> tabemann: please try the latest version of swdcom on linux
<tabemann> gcc doesn't recognize -Weverything
<tabemann> and anyways that's overkill
<crest> not for development
<crest> but yes this should go behind a DEBUG=1
<tabemann> on my end it failed horribly when compiled with -Wall IIRC
<crest> how?
<tabemann> lots and lots of nonsensical errors
<crest> ?
<tabemann> and it worked just fine when compiled
<crest> how could it work after hitting a compiler *error*?
<tabemann> I mean, after I removed the warning setting
<crest> -Weverything ist clang specific
<tabemann> you used some different warning setting before
<crest> yes but that was a few days ago :-P
<crest> scnr
<crest> -Wall -Wextra should be fine
<tabemann> okay, I'm going to have dinner now
<tabemann> bbl
<crest> i added a little bit to make gcc and gmake happy
dave0 has quit [Quit: dave's not here]
<crest> at least it builds with CC=gcc and gmake on freebsd
<crest> tabemann: i got some useful feedback from FUZxxl about even shorter instruction sequences with more 16bit opcodes