JITn has quit [Ping timeout: 246 seconds]
boru` has joined #forth
boru has quit [Disconnected by services]
boru` is now known as boru
Croran has quit [Remote host closed the connection]
<tabemann> hey guys
<tp> hey tabemann
<tabemann> I'm wondering how I'd fit all of zeptoforth in 64K
<tabemann> especially with sector-based flash erasure
<tp> why do you have to ?
<tp> Zeptoforth runs on a m4 and they have 1MB flash
<tabemann> unless I use the external flash
<tabemann> the chip that numworks uses is an M7 yet it has only 64K of flash onboard
<tp> ahh this is regards the numworks
<tabemann> the numworks I am using has 8MB external, but I'd have to figure out how to use that
<tp> as no STM32 mcu Im aware off has 1MB flash then perhaps the numworks has to be a special case and use the external flash ?
<tp> oops 8MB
<tp> the F4 has 1MB internal
<tp> hmm, is the external flash serial ?
<tabemann> yes
<tabemann> that might preclude my using it
<tabemann> and that might explain why matthias refused to use it
<tp> "refused is a bit strong" he probably just ignored the serial flash a Mecrisp-Stellaris cant use it ?
<tabemann> hmm I'm thinking of how to shrink zeptoforth so that everything, except perhaps the disassembler, can fit in 64K with room to spare
<tp> being able to use a external serial flash would be much more useful imo
<tabemann> the key aspect is whether it can be mapped to part of the normal addressing space
<tp> i doubt that unless cortex-m has some ability to do that
<tabemann> okay, the Cortex-M7 Supports a Quad SPI interface that can interface with the flash
<tp> and map it into the addressing space ?
<tabemann> that's what I gather
<tabemann> it's a general-purpose memory controller
<tabemann> this gets my hopes up that I'll be able to use that 8MB of flash
<tabemann> which'd be awesome
<tabemann> I should look at the flash datasheet to see how it handles erasure
<tp> I'm just dl the data sheep now
<tabemann> because if it has small (e.g. 1K or 2K) erase sectors that'd be great
<tabemann> data sheep - lol
<tabemann> neat it supports 256 byte erasure!
<tabemann> then I'd be able to use flash for blocks after all!
<tabemann> I just have to figure out how to use this memory controller then
<tabemann> and it supports one byte programming!
<tabemann> so no need for padding data for flash
<tp> thats pretty cool
<tabemann> so maybe I didn't waste $99.99 on this calculator after all
<tabemann> (even though even with Epsilon it does make a neat calculator)
<tp> hang on i have the STM32F412VGT6 listed as the mcu in the numworks
<tabemann> weird
<tp> maybe I made a mistake
<tabemann> hmm this page contradicts itself:
<tabemann> on one part of the page it says STM32F730V8T6
<tabemann> on another part of the same page it says STM32F412VGT6
<tabemann> maybe they upgraded it and forgot to update the entire page?
<tp> well mecrisp would have been developed on a actual mumworks unit
<tp> and Mecrisp-Stellaris lists these binaries
<tp> mecrisp-stellaris-numworks-with-sources.bin │ 131072 bytes
<tp> thats far more than 64kb
<tabemann> yeah
<tabemann> previous numworks used 1MB of flash
<tp> the STM32F412VGT6 must have 1MB ?
<tabemann> must have
<tp> youll have to take it apart and look at the pcb
<tp> see what is actually in it
<tp> ?
<tabemann> I'll trust what that page says
<tabemann> as there's no visible screws on the calculator
<tp> so what do you think is in it ?
<tabemann> probably a STM32F730V8T6 because I just bought this calculator
* tabemann is reading Epsilon source code to get a picture of how they interface with flash
<tp> hmm
<tp> did they change the mcu after Mecrisp-Stellaris made their version for it ?
<tabemann> that's my guess
<tabemann> this Epsilon code uses the MPU for memory regions
<tp> all stm32 mcus have a chip type ID in rom
reepca has quit [Ping timeout: 260 seconds]
<tp> Mecrisp-Stellaris does support the STM F746 Discovery chip = STM32F746NG
dave0 has quit [Quit: dave's not here]
reepca has joined #forth
reepca has joined #forth
<tp> address space and is seen by the system as if it was an internal memory
<tp> · memory-mapped mode: the external Flash memory is mapped to the microcontroller
<tp> The QUADSPI is a specialized communication interface targeting single, dual or quad SPI
<tp> Flash memories.
<tp> problem solved :)
<tp> the mcu does all the work
<tabemann> yes, that's what I gathered
<tabemann> what I'm wondering is what do I have to do to configure it so it works properly
<tp> thats from the STM32F777 manual
<tp> the first thing I do is generate a svd2forth from the chip cmsis-svd and have a look
<tabemann> this damn Epsilon code hides everything behind data structures...
<tabemann> like Arduino
reepca has quit [Ping timeout: 258 seconds]
<tp> it's got 6 SPI peripherals
<tp> C loves structures
<tabemann> this is C++
<tabemann> so they're not like C structs
<tabemann> but rather classes with methods
<tp> recently a very experienced engineer on a forum I read claimed that cmsis-svd included "structures of registers"
<tp> C thinking is so pervasive
<tabemann> I've programmed over the years in C or C++, like at my last job, yet for something like this I want to see registers and bitfields
<tp> for embedded you mean ?
<tp> embedded is different to systems programming, C tries to make them the same imho
<tabemann> yeah
<tabemann> what I did was applications programming mostly
<tp> thats the mainstream I think
<tp> you now have a feel for that embedded difference I imagine
<tabemann> stuff for MRI machines, stuff for printing presses, stuff for simulators for spacecraft instruments - I was for a short bit doing some embedded though, all in C though
<tp> looks like one must configure for the SPI memory chip
<tabemann> the thing is I have to figure out how to configure the SPI interface
<tp> so your Forth would need a word to configure for the spi at init I guess
<tp> thats not going to be too hard once you study the spi chip data
<tp> and the mcu config
<tp> I find SPI really easy
<tp> what you CAN do is load a Forth into the on MCU flash and experiment
<tp> thats the whole point of Forth afterall
<tp> bbl, off shopping
reepca has joined #forth
reepca has quit [Ping timeout: 256 seconds]
jsoft has joined #forth
jsoft has quit [Ping timeout: 258 seconds]
reepca has joined #forth
gravicappa has joined #forth
dys has joined #forth
mtsd has joined #forth
xek has joined #forth
dddddd has quit [Ping timeout: 260 seconds]
WickedShell has quit [Remote host closed the connection]
xek has quit [Read error: Connection reset by peer]
xek_ has joined #forth
xek__ has joined #forth
yunfan has quit [Ping timeout: 272 seconds]
andrei-n has joined #forth
xek_ has quit [Ping timeout: 272 seconds]
gravicappa has quit [Ping timeout: 246 seconds]
TCZ has joined #forth
jedb has joined #forth
TCZ has quit [Quit: Leaving]
jedb_ has joined #forth
jedb has quit [Ping timeout: 256 seconds]
jsoft has joined #forth
ecraven has quit [Quit: bye]
ecraven- has joined #forth
ecraven- is now known as ecraven
mtsd has quit [Remote host closed the connection]
gravicappa has joined #forth
xek__ has quit [Ping timeout: 256 seconds]
iyzsong has joined #forth
jsoft has quit [Ping timeout: 256 seconds]
dddddd has joined #forth
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
Zarutian_HTC| has joined #forth
Zarutian_HTC has quit [Read error: Connection reset by peer]
xek__ has joined #forth
[1]MrMobius has joined #forth
tabemann_ has joined #forth
reepca` has joined #forth
neuro_sys_ has joined #forth
lonjil2 has joined #forth
pareidolia_ has joined #forth
deesix_ has joined #forth
MrMobius has quit [Ping timeout: 246 seconds]
tabemann has quit [Ping timeout: 246 seconds]
Vedran has quit [Ping timeout: 246 seconds]
pareidolia has quit [Ping timeout: 246 seconds]
dzho has quit [Ping timeout: 246 seconds]
reepca has quit [Ping timeout: 246 seconds]
deesix has quit [Ping timeout: 246 seconds]
Lord_Nightmare has quit [Ping timeout: 246 seconds]
neuro_sys has quit [Ping timeout: 246 seconds]
cmtptr has quit [Ping timeout: 246 seconds]
cmtptr_ has joined #forth
[1]MrMobius is now known as MrMobius
lonjil has quit [Ping timeout: 264 seconds]
dzho_ has joined #forth
dzho_ has joined #forth
dzho_ has quit [Changing host]
deesix_ is now known as deesix
Lord_Nightmare has joined #forth
Vedran has joined #forth
TCZ has joined #forth
xek_ has joined #forth
xek__ has quit [Ping timeout: 258 seconds]
TCZ has quit [Quit: Leaving]
Zarutian_HTC| has quit [Ping timeout: 272 seconds]
reepca` has quit [Ping timeout: 258 seconds]
neuro_sys_ is now known as neuro_sys\
neuro_sys\ is now known as neuro_sys
neuro_sys has joined #forth
neuro_sys has quit [Changing host]
andrei-n has quit [Read error: Connection reset by peer]
dzho_ is now known as dzho
xek_ has quit [Read error: Connection reset by peer]
Zarutian_HTC has joined #forth
jedb_ has quit [Ping timeout: 260 seconds]
dys has quit [Ping timeout: 256 seconds]
yunfan has joined #forth
WickedShell has joined #forth
jsoft has joined #forth
jsoft has quit [Ping timeout: 258 seconds]
xek_ has joined #forth
dave0 has joined #forth
xek_ has quit [Ping timeout: 258 seconds]
TCZ has joined #forth
gravicappa has quit [Ping timeout: 265 seconds]
TCZ has quit [Quit: Leaving]
jhei has quit [Ping timeout: 256 seconds]
mjl_ has joined #forth
pointfree has quit [Ping timeout: 260 seconds]
mjl has quit [Ping timeout: 272 seconds]
mjl_ is now known as mjl
ovf has quit [Ping timeout: 260 seconds]
guan has quit [Ping timeout: 260 seconds]
Zarutian_HTC has quit [Read error: Connection reset by peer]
guan has joined #forth
jhei has joined #forth
ovf has joined #forth
pointfree has joined #forth
Zarutian_HTC has joined #forth
cantstanya has quit [Remote host closed the connection]
cantstanya has joined #forth