nonlinear has joined #forth
tp has joined #forth
tp has joined #forth
tp has quit [Changing host]
proteus-guy has joined #forth
proteus-guy has quit [Max SendQ exceeded]
proteus-guy has joined #forth
tabemann has joined #forth
tabemann has left #forth [#forth]
tabemann has joined #forth
<tabemann> tp !
<tabemann> I'm now debugging on my board!
<tabemann> this is so much nicer than futzing around with cutter/radare!
<tp> tabemann, absolutely !
<tp> I even use my connected boards for measuring the local temperature and doing embedded maths etc
mjl has quit [Ping timeout: 246 seconds]
jhei has quit [Ping timeout: 246 seconds]
<tp> 87,23 F
<tp> 30,68 C
<tabemann> of course I just managed to make my board segfault
<tp> Im pretty happy with my design environment, and did get some good tips on using non Screen methods to upload Forth source to my boards
<tp> cortex-m is *very* easy to raise a exception with mainly because it has them for absolutely everything
<tp> but it's really a help, not a hindrance
<tabemann> I think this is just that I miscalculated the top of flash
<tp> that will definitely do it
mjl has joined #forth
jhei has joined #forth
<tp> error #3
<tp> my new bluepill diags now handles that error nicely if the user flash test fails because the flash isnt there
<tp> umodem1: <Mecrisp STM32F10x Forth Serial Port, class 2/0, rev 2.00/2.00, addr 10> on usbus0
<tp> hows that for USB device info ?
<tp> : calltrace-handler ( -- ) \ Try your very best to help tracing unhandled interrupt causes...
<tp> ." Failed memory test. Press board RESET button to restart microprocessor " cr
<tp> begin again \ Trap execution, stop the endless error message.
<tp> ;
<tp> : init.calltrace ( -- )
<tp> ['] calltrace-handler irq-fault !
<tp> ;
<crc> Good evening
<tabemann> hey crc
<tabemann> no, I didn't miscalculate the top of flash...
<tp> gday crc
<crc> I've been working on making my syntax highlighting for examples nicer
<tp> crc, awesome!
<crc> It's a bit buggy, but I'm now able to format much of the markdown parts
* tabemann figured out his problem
<tp> crc, I looked at your HTML code, found it wasnt for Forth to HTML so much as your very nice literate Forth programming to HTML, and then I stumbled across a Forth to HTML program for Gforth which worked nicely. I had to get back to other stuff at that point so have continued using the canned Vim Forth to HTML since
<crc> tp: I'm working on a version of my forth to HTML for traditional forth; But it's going slowly :(
<tp> crc, I understand
<tp> the exercise showed me that Forth is great as a converter
<tp> as you may know I use Forth for embedded on real hardware doing simple jobs, thats my area of expertise
<tabemann> yesss I've done my initialization and my board hasn't locked up!
<tp> tabemann, milestone!
<crc> Yes. Embedded stuff is interesting to me, though I've done almost nothing in that realm thus far
* tabemann is just putting his toes in embedded, even though he did a bit of embedded for a job, in C, with an RTOS a long time ago
<tp> crc, I used embedded as a source of income for many years and loved the field
<tp> crc, I have about a dozen embedded projects on the go atm, all Forth powered cortex-m
* tabemann is playing around with a DISCOVERY board ATM
<tp> crc, as we well know, Forth is perfect for embedded self test programs as it already has the terminal support needed to access the information
<tp> ant so I used that capability in my link above for my second "stm32F1xx-diagnostics" program which Ive just released. The previous version so far has had 131 downloads
<tp> the new version reads internal information I wasnt aware of in the first version which was mainly exploratory anyway
<tp> tabemann, it's awesome youre doing your cortex-m Forth because no one else is, apart from Matthias but his Mecrisp-Stellaris is fairly stagnant now apart from bug fixes
<tp> tabemann, matthias is pretty busy now hes building space hardware in his new job
<tp> tabemann, plus Matthias is working more on risc-v now
<MrMobius> tabemann, were you the one working on a forth in arm assembly?
<tp> MrMobius, definitely tabemann
<MrMobius> I was curious what it was like
<tabemann> back
<tabemann> hah!!!
<tabemann> I've got it waiting for keystrokes!
<tp> your outer interp is working ?
<tabemann> I'm not sure if it works, but it's trying to work
<tabemann> now I need to attach a serial terminal
<tabemann> okay, serial isn't working yet
<tabemann> it's seeming to just loop forever when reading from serial
<MrMobius> tabemann, I was looking today at writing assembly for ARMv4. have you messed with anything like that other than cortex M stuff?
<tabemann> no I haven't
<tabemann> isn't ARMv4 really old?
<tabemann> the latest stuff is v8, and the stuff I'm working with right now is v7
<MrMobius> ya graphing calculator from 2006
<tabemann> ah
<tabemann> okay, well, I do need to get going
<tabemann> I'll be back on later
<MrMobius> cya
tabemann has quit [Ping timeout: 240 seconds]
proteus-guy has quit [Ping timeout: 272 seconds]
boru` has joined #forth
boru has quit [Disconnected by services]
boru` is now known as boru
<tp> wow a new Mecrisp-Stellaris version has been released and it supports a new chip, the STM32wb55 which has two Cortex-M cores, a M0 and a M4 AND inbuilt wireless!
<tp> what surprised me is it includes memmap.fs and bitfield.fs files made with my svd2forth stuff :)
tabemann has joined #forth
cheater has quit [Ping timeout: 260 seconds]
cheater has joined #forth
<tp> tabemann, Mecrisp Forth running as a CMSIS-RTOS thread.
dddddd has quit [Read error: Connection reset by peer]
dave69 has joined #forth
dave0 has quit [Disconnected by services]
dave69 is now known as dave0
iyzsong has joined #forth
<tabemann> back
<tp> mecrispCube!
<tp> oops
<tabemann> tp
<tabemann> how do you make gdb dump the registers
<tp> "registers"
<tp> something like that
<tabemann> oh it's "info registers"
<tp> ah yes
<tp> I dont use GDB enough to memorise it
<tp> when one has a working forth, gdb isnt needed
<tabemann> I have a problem
<tabemann> I want each word defined in flash to refer to the previous word
<tabemann> and I define this as:
<tabemann> 10: .word 10b - 4
<tabemann> to refer to the head of the previous word
<tabemann> but it seems to want to refer to the 10 I defined right there
<tabemann> okay, I'm gonna head off to bed
<tp> cya
gravicappa has joined #forth
jsoft has joined #forth
iyzsong has quit [Remote host closed the connection]
iyzsong has joined #forth
proteus-guy has joined #forth
iyzsong-x has joined #forth
iyzsong has quit [Ping timeout: 260 seconds]
WickedShell has quit [Remote host closed the connection]
proteus-guy has quit [Ping timeout: 272 seconds]
mtsd has joined #forth
iyzsong-x has quit [Ping timeout: 240 seconds]
iyzsong has joined #forth
xek_ has joined #forth
X-Scale` has joined #forth
X-Scale has quit [Ping timeout: 240 seconds]
X-Scale` is now known as X-Scale
X-Scale` has joined #forth
X-Scale has quit [Ping timeout: 272 seconds]
X-Scale` is now known as X-Scale
mtsd has quit [Quit: Leaving]
iyzsong has quit [Ping timeout: 240 seconds]
proteus-guy has joined #forth
dddddd has joined #forth
dys has joined #forth
proteus-guy has quit [Ping timeout: 240 seconds]
turnandrun has joined #forth
<turnandrun> Hello
<crc> hi Turnandrun
dave0 has quit [Quit: dave's not here]
dys has quit [Ping timeout: 245 seconds]
_whitelogger has quit [Ping timeout: 248 seconds]
_whitelogger has joined #forth
siraben has quit [Ping timeout: 240 seconds]
jimt[m] has quit [Ping timeout: 256 seconds]
nonlinear[m]1111 has quit [Ping timeout: 246 seconds]
siraben has joined #forth
siraben has quit [Client Quit]
rpcope- has quit [Ping timeout: 240 seconds]
rpcope has joined #forth
jsoft has quit [Ping timeout: 240 seconds]
tp has quit [Remote host closed the connection]
tp has joined #forth
tp has quit [Changing host]
tp has joined #forth
nonlinear[m] has joined #forth
turnandrun has quit [Ping timeout: 258 seconds]
siraben has joined #forth
jimt[m] has joined #forth
turnandrun has joined #forth
proteus-guy has joined #forth
WickedShell has joined #forth
WickedShell has quit [Remote host closed the connection]
WickedShell has joined #forth
proteus-guy has quit [Ping timeout: 265 seconds]
turnandrun has quit [Quit: Lost terminal]
WickedShell has quit [Remote host closed the connection]
WickedShell has joined #forth
WickedShell has quit [Remote host closed the connection]
gravicappa has quit [Ping timeout: 260 seconds]
WickedShell has joined #forth
xek_ has quit [Ping timeout: 260 seconds]
<remexre> is there a word that replaces ['] FOO COMPILE, ?
<remexre> or is that just COMPILE?
proteus-guy has joined #forth
KipIngram has quit [Quit: WeeChat 1.4]
KipIngram has joined #forth
KipIngram has quit [Client Quit]