#garfield Logs
Aug 20 2021
#garfield Calendar
02:24 AM polprog: rue_mohr: see flashref.txt :P
02:31 AM polprog: also here i put my makefile and some ready C programs
02:31 AM polprog: https://polprog.net/rozne1/ircjunk/8051/Makefile
02:31 AM polprog: https://polprog.net/rozne1/ircjunk/8051/memtest.c
02:34 AM polprog: more stuff in the directory, i have to go
08:23 AM polprog: the crystal still doesnt kick in always
08:24 AM polprog: 22pf is in the ballpark for xtal caps? 2x22pf on it
08:27 AM rue_bed: maybe its a bad crystal
08:27 AM polprog: i just replaced it with a known good one
08:27 AM rue_bed: any different?
08:28 AM rue_bed: how much space did tinybasic take up?
08:28 AM polprog: no, its very erratic
08:29 AM polprog: somtimes it still doesnt kick in
08:29 AM polprog: maybe its a bad 8051
08:29 AM polprog: like. I cannot explain *why* the serial sometimes just doesnt work
08:29 AM polprog: my code is correct, plain and simple
08:30 AM polprog: ah shit, i overlooked a small change
08:30 AM polprog: did you see my makefile?
08:31 AM polprog: ok, it works now
08:31 AM polprog: still, sometimes the xtal does not kick in
08:31 AM polprog: at least i have the flashing LED
08:33 AM polprog: OH SHIT
08:33 AM polprog: PAULMON works!!!
08:58 AM rue_mohr: maybe dead bug an oscillator module onto it?
08:58 AM rue_mohr: paulmon loads basic into ram?
08:59 AM rue_mohr: had 8051s in my dream last night
09:40 AM rue_mohr: polprog, how big was paulmon?
01:45 PM polprog: https://polprog.net/rozne1/ircjunk/8051/8051_sbc2.jpg
01:46 PM polprog: rue_mohr: it fits into a 29F010, its not very big
01:46 PM polprog: sub 1k i think
01:48 PM polprog: it takes 8KB (its a rom image)
01:51 PM polprog: https://polprog.net/rozne1/ircjunk/8051/8051_sbc.jpg
05:30 PM aandrew: polprog: so did you have the bulk of that UI already done up in a library somewhere and just imported it?
07:07 PM rue_mohr: aandrew, the inner bit is pauls monitor
07:07 PM rue_mohr: the outter bit is his terminal I/F
08:03 PM aandrew: I thought paulmon was running on the board
09:38 PM rue_mohr: it is
09:38 PM rue_mohr: thru serial
09:38 PM rue_mohr: to his serial terminal
09:55 PM rue_mohr: I downloaded all that stuff and misplaced it...
09:59 PM rue_mohr: aha, installs
09:59 PM rue_mohr: hahaha
10:00 PM rue_mohr: files/archive/armory/armory/8051/paulmon.txt
10:00 PM Tom_L: so aparently bullseye has a preempt-rt packaged with it
10:00 PM rue_mohr: what is bullseye?
10:00 PM Tom_L: debian 11
10:00 PM Tom_L: released a few days ago i think
10:01 PM rue_mohr: polprog, I have a backup of armory.com with paulmon, from 2001
10:01 PM rue_mohr: Tom_L, I do wish they wouldn't bother with the names
10:04 PM Tom_L: https://packages.debian.org/bullseye/linux-image-5.10.0-8-rt-arm64
10:04 PM Tom_L: for arm
10:04 PM rue_mohr: gonna try it?
10:05 PM Tom_L: not right away
10:05 PM Tom_L: i have the rpi set up for the mill already
10:05 PM Tom_L: using 10
10:07 PM rue_mohr: the rt thing was a problem to as I reacall wasn't it?
10:08 PM Tom_L: it's working well on the rpi
10:09 PM Tom_L: you can't do alot else if you're running a mill though
10:10 PM rue_mohr: logon: .db "\r \r "
10:10 PM rue_mohr: .db 12,"Welcome to the new and possibly even "
10:10 PM rue_mohr: .db "improved 8031 monitor/debugger\r"
10:10 PM rue_mohr: .db "by Paul Stoffregen on 14-OCT-91 "
10:10 PM rue_mohr: .db "for no good reason whatsoever...\r\r"
10:10 PM rue_mohr: so, my local copy of paulmon is old
10:17 PM rue_mohr: so, I may play with making a cpu on the fpga that emulates an 8051
10:17 PM rue_mohr: instead of the soft8051
10:18 PM rue_mohr: I hope not, I have a lot of other things I'd like to get done
10:18 PM aandrew: hahahaha
10:19 PM * Tom_L releases a couple more butterflies in front of rue_mohr
10:19 PM rue_mohr: yep.
10:21 PM rue_mohr: paulmon came up a few times, but I think I'll skip it, its a debugger, but eats most of the space being it.
10:21 PM rue_mohr: I'm interested in running basic on this
10:22 PM rue_mohr: it looks like my armory snapshot has 3 BASIC packages for the 8051
10:22 PM rue_mohr: one of them being for the 8031, another being for the 8052
10:23 PM rue_mohr: oh this one is a monitor for the 8051
10:27 PM rue_mohr: "BASIC31 must be configured the same way as Intel's BASIC-52. That is, it
10:27 PM rue_mohr: requires at least 1K of RAM in external RAM space (not overlapped with
10:27 PM rue_mohr: code space) starting at address 0000h. BASIC31 itself must be installed
10:27 PM rue_mohr: in an EPROM which is located at address 0000h in the code space. "
10:27 PM rue_mohr: oh my
10:27 PM rue_mohr: confusing
10:28 PM Tom_L: one variant of the 68hc11 had something built in it... i forget now what it was
10:28 PM Tom_L: mon or debugger
10:28 PM rue_mohr: hmm
10:28 PM rue_mohr: buffalo
10:28 PM Tom_L: yes
10:28 PM rue_mohr: :)
10:28 PM rue_mohr: I have mine from school
10:29 PM rue_mohr: I wish they'd used 8051
10:29 PM Tom_L: i dunno if i have any 6811 with that variant
10:29 PM Tom_L: what did the heatkit trainer use?
10:29 PM Tom_L: the one that came with breadboard keyboard etc
10:29 PM rue_mohr: I didn't have one :(
10:30 PM Tom_L: that might still be in the attic unless i threw it out
10:30 PM rue_mohr: I have not found how to get a pallette from your loc yet
10:30 PM rue_mohr: the local shipper doesn't cross the border
10:31 PM rue_mohr: others do, I just need to find a name
10:31 PM Tom_L: 6800
10:31 PM rue_mohr: a buddy has a dropship at the border too
10:32 PM Tom_L: all i see is the ET-3400 but mine was different
10:34 PM Tom_L: i swear mine had a full kbd but maybe i'm wrong
10:34 PM rue_mohr: oh hum
10:34 PM rue_mohr: yep, looks like I can atleast burn a rom and try this 8051 BASIC
10:35 PM rue_mohr: it would be funny to have a serial BASIC board...
10:35 PM rue_mohr: I want to finish that pneumatic engine
10:35 PM rue_mohr: and I have all the stuff to reball that cpld now
10:35 PM rue_mohr: the boards are under way
10:36 PM rue_mohr: "We expect to get them back around August 26th. "
10:36 PM rue_mohr: ok
10:37 PM rue_mohr: I have a few days to work out reballing
10:37 PM Tom_L: what do you use for balls?
10:37 PM rue_mohr: I bought a bottle of them
10:37 PM Tom_L: oh
10:37 PM Tom_L: stick on?
10:37 PM rue_mohr: their 63/37
10:37 PM Tom_L: flux adhesive
10:37 PM rue_mohr: 0.55mm
10:37 PM rue_mohr: hmm
10:38 PM rue_mohr: I presume I'm supposed to melt them in on the cpld side first?
10:38 PM Tom_L: i would imagine
10:38 PM rue_mohr: maybe I should watch some videos
10:38 PM rue_mohr: :)
10:38 PM rue_mohr: Its an array of stainless grids and an alignment bracket
10:39 PM rue_mohr: I also think I should test on ... someting first
10:39 PM rue_mohr: I have some old boards I could cut up
10:39 PM rue_mohr: I dont really know if they connected, but its experience
10:39 PM Tom_L: they sent a grid with the balls?
10:40 PM rue_mohr: no I got a reballing tool
10:40 PM rue_mohr: 1 sec
10:40 PM * Tom_L bets rue_mohr broke the budget this time
10:40 PM rue_mohr: no...
10:41 PM rue_mohr: baout $11 iirc
10:41 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1200675.jpg
10:41 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1200676.jpg
10:41 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1200677.jpg
10:44 PM Tom_L: huh
10:54 PM rue_mohr: ok, plug and play code
10:54 PM rue_mohr: will BASIC work on this 8051?
10:56 PM rue_mohr: its trying to say something
11:04 PM rue_mohr: huh
11:04 PM rue_mohr: it even looks like its trying to say it at the right rate
11:55 PM rue_mohr: i GOT IT
11:55 PM rue_mohr: The auto baud detect was looking for a space, not an enter
11:55 PM rue_mohr: hahah it runs BASIC
11:57 PM rue_mohr: wow there is a lot of stuff in here
11:57 PM rue_mohr: I'm reading the manual
11:59 PM rue_mohr: aha PORT1 is what I'm looking for
11:59 PM rue_mohr: yes!
11:59 PM rue_mohr: controlling led via basic now