00:00:00 --- log: started forth/19.12.04 00:24:14 --- quit: C-Keen (*.net *.split) 00:24:14 --- quit: presiden (*.net *.split) 00:24:57 --- join: C-Keen joined #forth 00:24:57 --- join: presiden joined #forth 00:30:25 --- join: mtsd joined #forth 00:41:49 --- join: dys joined #forth 00:44:56 --- quit: mtsd (Remote host closed the connection) 00:45:48 --- join: mtsd joined #forth 01:07:21 --- join: rdrop-exit joined #forth 01:13:55 --- quit: dys (Ping timeout: 276 seconds) 01:54:19 --- join: dys joined #forth 02:19:48 wahey! 02:19:52 time to work on my solutions 02:19:58 had a busy couple of days 02:20:50 --- join: dave0 joined #forth 02:24:40 --- quit: mtsd (Ping timeout: 240 seconds) 02:35:46 --- quit: WickedShell (Remote host closed the connection) 02:41:29 --- join: iyzsong joined #forth 02:54:18 --- join: mtsd joined #forth 02:58:14 --- quit: begin (Changing host) 02:58:14 --- join: begin joined #forth 03:00:02 --- quit: Jookia (Remote host closed the connection) 03:00:29 --- join: Jookia joined #forth 03:29:46 --- join: smokeink joined #forth 03:31:56 --- quit: retroforth-bot (Ping timeout: 250 seconds) 03:35:50 --- quit: dys (Ping timeout: 250 seconds) 03:45:03 --- join: iyzsong-x joined #forth 03:46:22 --- quit: iyzsong (Read error: Connection reset by peer) 03:46:45 --- join: dys joined #forth 04:06:13 --- quit: rdrop-exit (Quit: Lost terminal) 04:37:22 --- quit: jsoft (Ping timeout: 250 seconds) 04:50:32 Good luck! 05:10:07 --- quit: iyzsong-x (Quit: ZNC 1.7.1 - https://znc.in) 05:44:59 --- quit: smokeink (Ping timeout: 265 seconds) 06:04:49 --- quit: mtsd (Quit: Leaving) 06:06:12 --- quit: dave0 (Quit: dave's not here) 07:45:16 --- quit: tabemann (Ping timeout: 245 seconds) 08:30:20 --- quit: MrMobius (Ping timeout: 268 seconds) 08:30:52 --- join: dddddd joined #forth 08:59:20 --- join: ryke joined #forth 10:03:14 --- quit: dys (Ping timeout: 250 seconds) 11:04:19 --- join: f-a joined #forth 11:37:20 --- quit: gravicappa (Ping timeout: 240 seconds) 12:20:44 --- join: WickedShell joined #forth 13:11:37 --- quit: ryke (Remote host closed the connection) 13:11:39 --- join: ryke1 joined #forth 13:14:00 --- nick: ryke1 -> ryke 13:39:37 --- quit: f-a (Ping timeout: 265 seconds) 13:41:30 --- join: f-a joined #forth 14:04:06 --- quit: f-a (Quit: leaving) 14:25:42 --- quit: jedb (Quit: Leaving) 14:26:42 --- join: jedb joined #forth 15:24:35 --- quit: oxford (Ping timeout: 260 seconds) 15:29:14 --- join: oxford joined #forth 15:30:17 --- quit: ryke (Ping timeout: 268 seconds) 17:21:14 --- join: dave0 joined #forth 17:23:56 --- quit: X-Scale (Ping timeout: 250 seconds) 17:24:26 --- join: X-Scale` joined #forth 17:25:06 --- nick: X-Scale` -> X-Scale 17:40:09 --- join: tabemann joined #forth 18:27:37 --- join: smokeink joined #forth 18:31:58 --- quit: X-Scale (Ping timeout: 250 seconds) 18:33:14 --- join: X-Scale` joined #forth 19:03:39 --- quit: tabemann (Ping timeout: 268 seconds) 19:06:26 --- quit: smokeink (Remote host closed the connection) 19:43:53 --- join: tabemann joined #forth 20:05:06 --- join: jsoft joined #forth 20:13:13 hey 20:15:23 heyhey 20:17:13 been working on zeptoforth 20:17:31 been learning Thumb assembly pretty quickly 20:19:29 Mecrisp-Quintus 0.25 for RISC-V 32 IM on GD32VF103CB by Matthias Koch 20:20:05 Ive been looking at RISC-V, just got back onto it 20:20:56 i've been taking my time NOT writing forth 20:21:03 looks like it has 32 bit immediates and a 16 bit 'compressed' instruction set 20:21:18 i seriously don't understand why only lisp and forth have proper macros 20:21:36 Wahoo! :D 20:21:42 Flashed mah clock stm32 :) 20:21:43 tp: yeah that's basically it. are you reading the spec? 20:21:55 tabemann, I look forward to trying zappaforth when it's ready ;-) 20:22:32 jsoft, so will you be on time to work now you have a clock ? 20:22:55 tp, i've got tonight to solder on an xtal, and program it 20:22:56 Jookia, I have tons of docs to read yet, Ive just started 20:23:09 jsoft, so got your pcb ? 20:23:33 tp: Ah. I highly suggest reading the spec, it's really readable and gives context about some decisions. I believe it also has an assembly programmers manual in it and listing of the ABI 20:23:57 Jookia, I will, I have a list of pdf'd to go thru 20:24:03 pdf's 20:24:53 back 20:25:17 one thing that really annoys me about ARM is this 20:25:35 none of the docs I see detail the binary format of the instructions 20:25:57 it's there 20:26:02 tp, https://imgur.com/a/kLV8B3y 20:26:05 you just have to find the right doc 20:27:53 jsoft, nice, but tell me did you design the human eye also ? 20:28:20 tp, hmm? 20:28:28 because the human eye has the blood vessels in FRONT of the retina also ;-) 20:28:47 is your power cable really on the front of the cloclk ? 20:28:57 Thats the back of the clock 20:29:06 ahh, 20:29:40 oops, my bad, sorry! 20:30:05 are there holes in the pcb for the leds ? 20:30:12 no 20:30:23 the leds are on the other side 20:30:30 is that the leds I can see on the extremities ? 20:30:39 those are 0805 caps 20:30:40 or drivers ? 20:30:45 ahh 20:30:49 for the leds on the other side 20:31:06 crap, I didnt zoom in the pic! 20:31:24 please ignore the ranblings of a old blind tech! 20:31:39 lol 20:31:57 All right, well clearly in order to get this thing, going, I will require bourbon 20:32:08 I mean.. obviously. 20:32:38 you handsoldered everything ? 20:32:59 Yerp. Increasingly hurried and unconcerned as I started running out of time 20:33:04 and first time Forth user ... pretty impressive 20:36:49 I've got to somehow solder a crystal that I forgot / did not thin about putting on though 20:36:57 That's going to be some rather finniky stuff 20:37:10 soldering to the pins somehow 20:38:40 as it's only a 32,768 hz xtal you could mill out a area for it on the nice copper filled ground plane and run some fine wires to the chip ? 20:39:06 Yeah perhaps 20:39:48 soldering the xtal directly to the chip has a lot of possible negative outcomes 20:39:56 --- quit: dave0 (Quit: dave's not here) 20:40:14 and at that freq you dont need to imho 20:41:23 using a dremmel tool on the groundplane could look nice and neat 20:41:52 the 32768 xtals are tiny anyway 20:42:29 free (bytes) 20:42:29 FLASH.. TOTAL REPORTED: 131072 USED: 83308 FREE: 47764 20:42:29 RAM.... TOTAL PRESET: 32767 USED: 13675 FREE: 19092 20:45:23 I couldnt find *any* source in mecrisp-quintus that referred to the clock, it looks like it doesn't do anything at all and just lets the GD32VF103 clock run at bootup by default 20:46:12 checking the register that controls the clock source I see all 0's 20:46:40 RCU_CFG0 () $00000000 20:48:32 --- quit: dddddd (Remote host closed the connection) 20:51:17 the big problem I have is how do I initialize the flash dictionary 20:51:37 because how do I find where the highest flash word is in memory 20:52:15 unless I have some specific location in flash that I continually erase and reflash with the current top of the flash dictionary 20:52:32 but that will wear out that part of the flash 20:53:41 --- join: gravicappa joined #forth 20:55:32 I find the highest flash word in Mecrisp-Stellaris 20:55:51 well, I mean, how do you do that 20:56:05 want to figure it out without simply copying mecrisp-stellaris's solution 20:57:02 i use "compiletoflash" and then "here" 20:57:36 compiletoflash knows the last flash word 20:57:49 what I am thinking of doing is searching backwards in flash until a block of flash which is not all 0xffffffff is found 20:58:15 then I just need a way of finding the header to the first word therein 20:58:42 problem there is that no all flash is erased with $ff some is $00 in other cortex-m's 20:59:01 i think my stm32L073 is erased to 00 20:59:05 that's fine either way 20:59:20 I've only just stared work on it and my usual look for FF didnt work 20:59:29 because legitimate code isn't going to be all $00 21:00:14 using what Mecrisp-Stellaris uses would be fine, it's probably the way to do it, just implement the method ? 21:00:25 in your own way 21:01:11 haha 21:01:40 wait that's not gonna work 21:05:01 it took matthias 2 years to write mecrisp (MSP430) so there is a lot of work 21:09:58 I've no idea how compiletoflash works as Ive never looked at the code 21:10:07 wont be simple Im guessing 21:13:27 okay, I'm gonna hit the sack now 21:13:30 g'night 21:14:43 night 21:27:14 --- join: jedb_ joined #forth 21:29:40 --- quit: jedb (Ping timeout: 240 seconds) 21:34:50 night 21:36:05 jsoft, looks like another of your excellent schemas under the 'roboclock' ;-) 21:36:31 --- quit: oxford (Ping timeout: 260 seconds) 21:36:31 --- quit: Jookia (Ping timeout: 260 seconds) 21:36:38 Nah not really, All this was rather hurried 21:36:58 I have two or three silly mistakes so far 21:37:07 i wish stm would 'hurry' in a similar way when they make their nucleo and disco boards! 21:37:09 But, just tested the 5V buck converter... bang on 5V 21:37:44 I guess... I need to give a bit of good news and tell it to turn some leds on eh? 21:37:53 yeah 21:37:56 good plan 21:38:44 Man this interactive stuff makes it so much more fun testing bit by bit 21:38:49 "l1on" l1off" ? 21:39:03 it sure does 21:40:26 I write my code with really short Words such as "l1on" because I know what they are, and shot is easier to type. When I release the code I expand all the Words to their proper names, ie "led-1-on" 21:44:04 oooooooh this is looking promising 21:44:25 dont tell me somethings working ???? 21:44:27 I write extremely detailed words like 'loopy' which loops through the seconds :P 21:44:43 as long as you know what they mean 21:45:12 i tend to use long and detailed words so the operation is clear in my mind 21:45:18 Nya haaa, found a fruity led 21:45:31 when I look at it again in 10 years I want to be able to understand it 21:46:07 was bound to happen, the cheap ones arent hermetically sealed I guess 21:46:26 does it pass the 'black texta test" 21:46:27 ? 21:46:49 the whatter test? 21:47:37 the dud leds when a felt tip pen is pressed against them, the ink flows into the led 21:47:50 because theyre not hermetically sealed 21:48:39 pressed against the led lens at the edge 21:50:12 Oh nah, its a soldering thing 21:50:26 I know this because of a poke it with a finger test 21:52:25 hopefully 21:52:33 Awwww yeah. Bit of a poke with a soldering iron and that thing is sorted. On to the next one! 21:54:47 cool! 22:03:11 A few of these things were not soldered proper 22:03:31 And are still not 22:05:01 horsewhip the solderer! 22:12:44 Sweet, all the seconds leds are going 22:13:18 --- join: Jookia joined #forth 22:14:00 all 60 ? 22:14:26 yep 22:14:43 about 10 had faulty ground solders. As its not heat releived connections 22:14:46 pads 22:14:47 or whatever 22:15:13 Now I just implement the wrapper-deluxe-5000 edition so it does not act like a dick when fading from 59 seconds to 1 22:15:16 or zero 22:15:18 or whatever 22:15:20 --- join: oxford joined #forth 22:15:36 wrapper-deluxe-5000 edition ... WOW! 22:17:05 Awwww yeah 22:17:13 that smooth action between 59 and 1 seconds 22:18:38 it's what the 'roboclock' customers demand! 22:19:45 clockosaurus-rex actually ( as labeled on the silkscreen ) 22:22:27 i know, it's too long to type :_0 22:29:49 tp, https://www.youtube.com/watch?v=BobbJYqroYw 22:33:13 nice, I just subscribed, the first of many! 22:33:35 do you have a auto brightness method ? 22:33:53 better called a 'auto dimmer' I guess 22:34:37 if you have a spare led on the face of the clock you can use that to measure light intensity on the STM32f051 22:36:13 Yeah 22:36:20 Nah I just used my cell phone 22:37:10 i mean for the clock leds 22:37:55 auto brightness for the clock leds 22:38:14 the video is fine, light level wise 22:38:40 Oh I see 22:39:06 Yeah I was planning on adjusting the brightness based off of light levels, but that will be in PCB version 2 22:39:14 And also have alarms and what not 22:39:19 sure 22:39:31 And like a 'wake up ya bastard' slowly getting brighter thing 22:39:45 we did a heap of tests using the STM32f051 to measure light levels via a common led 22:40:00 You're a common led :P 22:40:08 in fact I made up a night light that uses a single led and a STM32f051 22:40:28 it's Mr Anode to you pal! 22:40:35 Lol 22:40:42 You reckon a led vs a LDR ? 22:40:53 dont need a ldr 22:41:07 a led senses light just fine 22:41:26 Hmm ok 22:41:35 I've never actually used a led for that 22:42:16 the mcu just needs to time interval between two levels as the led discharges, and this is easily done using the STM32f051 voltage vomparators 22:42:30 most people havent, but it's quite well known 22:43:11 you just apply a reverse voltage to a led, say 3.3v and then measure how long it takes for the charge to leak away 22:43:17 it's just like a capacitor 22:43:22 Oh ok 22:43:45 turn the polarity around and you can use the same led as a indicator 22:44:03 thats what I do with the night light 22:44:10 Hmm 22:44:19 I like it 22:44:32 you dont even need the comparators actually 22:44:38 I would also like to do basic things like put a damn xtal on the next PCB design :D 22:45:01 just gpio's will do as they have a Schmidt trigger input anyway 22:45:14 Which is fairly consistent ? 22:45:28 yep, very consistent 22:46:28 use a LDR if you want but a led will work just as well, and wont need the ADC 22:46:56 plus you can dual purpose the led 22:48:29 What do you mean? Did you say have another bourbon? Ok 22:48:32 :D 22:48:44 Nah I like that idea though 22:48:59 hahah 22:49:37 bourbon's going to really steady your SMT soldering 22:49:44 22:50:00 You have no idea how many absolute nightmare things I have soldered while drinking 22:50:05 Like, asbolute tiny tiny things 22:51:06 I have some SMT's here that if I sneeze theyre gone and never found again 22:51:15 Yep, done that too 22:51:25 they have to be soldered under a 40x microscope 22:51:35 Onto the carpet, and teleported to another dimension apparently 22:51:44 I've never used a microscope 22:51:52 but I think they might be handy 22:51:53 yeah, probably with my left socks 22:52:17 All right, time to add some minutes to this business 22:52:18 there is a dimension somewhere full of SMT's and left socks 22:52:52 a microscope is essential for SMT, youll need one in the next 5 years most likely 22:53:06 Allow me to lodge my denial 22:53:12 :D 22:53:22 dude, I hope you dont 22:53:33 I didnt until I was 45 22:54:37 jsoft, try this without one ? https://mecrisp-stellaris-folkdoc.sourceforge.io/prototyping.html?highlight=prototype#stm32l053 23:02:54 What is it ? 23:03:30 a 64 pin BGA chip I'm hand soldering wires to 23:03:46 stm32L053 23:05:15 --- join: ryke joined #forth 23:08:28 --- join: f-a joined #forth 23:19:40 bga 23:19:41 the horror 23:25:24 real horror is a daytime temp of 38C and the hot wind across central Australia blows the smoke from the all the bushfires thru my shed. In the late afternoon when the wind from the east, my 'sea breeze' blows in, it brings a cool breeze and all the smoke that was happily making its way to you, back to me ... 23:25:46 thats horror! 23:26:25 swap places! 23:27:57 f-a, hahah, arent you too old to smoke ? 23:28:33 it's 6:30 pm and the temp is down to 31C 23:28:58 pretty cold here 23:29:07 tho I much prefer cold weather to hot one 23:30:24 yeah, bad too far from +- 20C 23:30:39 yeah, bad too far from 20C 23:38:36 --- quit: f-a (Ping timeout: 245 seconds) 23:49:59 tp, found one bad WS2812 :) 23:50:05 Worked for a bit, then.. dieded 23:50:30 i knew it! 23:50:41 one out of 72 so far aint too shabby 23:51:01 yeah, lets hope the others keep running 23:51:20 It's amazeballs what you can do with a soldering iron if you are determined 23:51:28 Getting 4 pin things off and replacing them 23:51:38 Without lifting tracks/pads 23:52:26 zkillzzzzz 23:57:56 tp, I has some .25 mm enamel wire, ya reeckon I could bodge that to make a crystal thingy work ? 23:59:59 sure 23:59:59 --- log: ended forth/19.12.04