00:00:00 --- log: started forth/20.05.11 00:06:43 --- join: dys joined #forth 00:06:51 --- join: jsoft joined #forth 00:09:54 crest, here is the latest bitfields.fs template for your stm32f103 chip https://sourceforge.net/projects/mecrisp-stellaris-folkdoc/files/svd2forth-v3-stm32f103c8t6-bitfields.fs.gz 00:31:37 --- join: TCZ joined #forth 00:38:13 --- quit: reepca (Read error: Connection reset by peer) 00:38:41 --- join: reepca joined #forth 01:08:21 --- quit: reepca (Read error: Connection reset by peer) 01:08:31 --- join: reepca` joined #forth 01:09:40 --- join: malyn_ joined #forth 01:16:15 --- quit: malyn (*.net *.split) 01:16:16 --- nick: malyn_ -> malyn 01:32:57 --- join: TCZ2 joined #forth 01:34:24 --- quit: TCZ (Ping timeout: 256 seconds) 01:56:35 --- quit: TCZ2 (Quit: Leaving) 02:04:01 --- join: xek joined #forth 02:49:39 --- join: TCZ joined #forth 03:33:22 --- join: iyzsong joined #forth 03:42:55 --- join: dave0 joined #forth 04:53:19 crest, another update, this time showing registers with multiple access types: https://sourceforge.net/projects/mecrisp-stellaris-folkdoc/files/svd2forth-v3-2d786271ca-stm32f103c8t6-bitfields.fs.gz 04:53:51 crest, this is my last update for now, excepting any bugs you find 05:40:19 --- quit: Zarutian_HTC (Read error: Connection reset by peer) 05:40:49 --- join: Zarutian_HTC joined #forth 05:52:46 --- quit: mtsd (Quit: Leaving) 06:20:34 --- quit: dddddd (Ping timeout: 256 seconds) 06:25:12 --- quit: Zarutian_HTC (Ping timeout: 272 seconds) 06:35:20 --- quit: dave0 (Quit: dave's not here) 06:52:17 tp: GPIO-CONF[ 3 4 5 6 7 8 9 -> PP 50MHz ] GPIOB GPIO-CONF! 06:53:03 --- quit: TCZ (Quit: Leaving) 06:53:04 implementing that would be a interesting finger exercise 06:57:09 but i agree that it's a waste of time because any useful code base does more than initialize hardware 07:03:52 --- quit: iyzsong (Quit: ZNC 1.7.1 - https://znc.in) 07:18:41 --- join: TCZ joined #forth 07:24:30 --- join: Zarutian_HTC joined #forth 08:01:13 --- quit: Zarutian_HTC (Ping timeout: 258 seconds) 08:39:32 --- join: Zarutian_HTC joined #forth 09:26:26 --- join: dddddd joined #forth 09:48:39 --- join: WickedShell joined #forth 10:04:34 --- quit: dys (Ping timeout: 260 seconds) 10:12:11 --- quit: TCZ (Quit: Leaving) 10:15:35 --- quit: jsoft (Ping timeout: 246 seconds) 10:30:48 --- join: TCZ joined #forth 10:37:29 --- quit: TCZ (Quit: Leaving) 11:20:43 --- join: jsoft joined #forth 12:10:09 --- join: dys joined #forth 12:23:25 --- quit: jsoft (Ping timeout: 258 seconds) 13:05:04 --- quit: Zarutian_HTC (Remote host closed the connection) 13:32:06 --- join: TCZ joined #forth 13:59:34 --- quit: xek (Ping timeout: 256 seconds) 14:04:52 crest, that's it! ... I see the hardware configuration much like preparing the ground to lay concrete, it's messy, ugly, smelly, but has to be done correctly or the beautiful building that sits upon it may fall over later on 14:24:39 --- join: Zarutian_HTC joined #forth 14:25:56 --- quit: gravicappa (Ping timeout: 240 seconds) 14:29:16 --- join: dave0 joined #forth 14:53:01 --- quit: TCZ (Quit: Leaving) 16:27:52 hey guys 16:29:14 hey tabemann 16:31:08 for some reason the disassembler is trying to treat the first halfword of a 32-bit BL instruction as a 16-bit instruction... 16:32:25 have you taken the dissasembler out behind the woodshed and given it a good thrashing ? 16:38:50 lol 16:39:36 sometimes thats the only way 16:39:57 dissasembler rebellion cant be tolerated! 16:47:42 tabemann, check this out, I finally realised that bis! isnt needed with the BSRR words http://dpaste.com/3T14DQ0 16:47:58 you can clearly see the mask operation with bis! 16:48:55 back 16:50:25 tabemann, I because so used to using bis! I tended to use it everywhere 16:51:13 and never stopped to think about it not being required for setting/resetting gpio bits 16:51:45 tabemann, so now my svd2forth does this: 16:52:02 \ GPIOB_BSRR (write-only) Reset:0x00000000 16:52:02 : GPIOB_BSRR_BS0 ( -- ) 0 bit GPIOB_BSRR ! ; \ GPIOB_BSRR_BS0, Set bit 0 16:52:02 : GPIOB_BSRR_BS1 ( -- ) 1 bit GPIOB_BSRR ! ; \ GPIOB_BSRR_BS1, Set bit 1 16:52:04 etc 16:52:39 and each one saves 4 bytes along the way 16:52:47 ah 16:57:05 --- quit: lonjil (Ping timeout: 265 seconds) 17:05:50 --- join: Rakko joined #forth 17:23:06 --- join: lonjil joined #forth 17:31:42 --- join: TCZ joined #forth 18:10:11 --- join: boru` joined #forth 18:10:14 --- quit: boru (Disconnected by services) 18:10:17 --- nick: boru` -> boru 18:16:13 --- quit: dddddd (Remote host closed the connection) 18:22:06 --- quit: TCZ (Quit: Leaving) 18:40:57 yay - got the disassembly of BL working! 18:48:51 --- quit: Rakko (Remote host closed the connection) 18:49:14 --- join: Rakko joined #forth 19:21:11 tabemann, great news~ 19:27:57 --- quit: Rakko (Ping timeout: 260 seconds) 19:34:29 --- join: Rakko joined #forth 20:10:13 tp: and it's working even better now (but there are still bugs) 20:43:45 --- join: X-Scale` joined #forth 20:45:18 --- quit: X-Scale (Ping timeout: 256 seconds) 20:45:19 --- nick: X-Scale` -> X-Scale 21:08:11 --- quit: dave0 (Quit: dave's not here) 21:15:00 --- quit: X-Scale (Quit: HydraIRC -> http://www.hydrairc.com <- Now with extra fish!) 21:16:00 --- join: jsoft joined #forth 21:22:05 tp: take a look at zeptoforth now! 21:22:23 okies ") 21:23:02 I don't promise that that the disassembler is bug free, as I have not done exhaustive testing of it, but it seems to be working pretty good now 21:24:00 and btw, reload the binary first, since I made some kernel changes (I found that a 32-bit instruction was being used which I hadn't implemented in the disassembler, so I replaced it with an equivalent (and smaller) 16-bit instruction) 21:24:07 excellent, flashing now 21:25:47 note that you use the disassembler with disassemble 21:26:13 I haven't implemented a SEE word because there currently is no reliable way to tell the end of a word implemented in the kernel 21:29:56 it's still surprising seeing just how much the code churns the stack, even though of course I expected this 21:32:39 Welcome to zeptoforth ok 21:33:28 if the program cant tell the end of a word implemented in the kernel, ho do I ? 21:34:33 choose a length, and if you haven't seen a bx lr or pop {pc} in the code, you haven't gone far enough - but the problem is some words contain more than one of these 21:37:19 lol 21:38:14 Mecrisp-Stellaris looks for a bx or lr to determine the end of a word 21:38:19 iirc 21:40:36 in words meant to be inlined I put a special token after the bx lr, movs r7, r7, which I don't put anywhere else, and I put this after Forth words as well 21:54:40 okay, I've gotta head off to bed 21:55:23 cya 22:25:43 --- quit: Rakko (Quit: Leaving) 22:44:50 --- join: gravicappa joined #forth 22:50:52 --- join: jedb_ joined #forth 22:53:22 --- quit: jedb (Ping timeout: 256 seconds) 23:06:39 --- quit: dys (Ping timeout: 258 seconds) 23:46:27 --- nick: jedb_ -> jedb 23:59:02 --- join: mtsd joined #forth 23:59:59 --- log: ended forth/20.05.11