Project

General

Profile

Activity

From 05/13/2019 to 06/11/2019

06/09/2019

FO 11:31 PM Feature #76: Merge down to trunk
Experimenting with replacing the menu with a simple structure/code approach, should cut code size somewhat. foft

06/07/2019

FO 09:53 PM Feature #76: Merge down to trunk
-flto gets me to 33244 foft
FO 09:39 PM Feature #76: Merge down to trunk
That was with 64-bit riscv, switched to the 32-bit version and its bigger: 39512 foft

06/04/2019

FO 10:34 PM Feature #76: Merge down to trunk
Tried building with riscv and the firmware size dropped from 37KB to <32KB. Which is great! So might need to reactivate the zpu->riscv plan... foft

05/28/2019

FO 10:45 PM Feature #76: Merge down to trunk
freezer 1024 1
antic 1536 1
scandoubler1 14600 2
scandoubler2 14600 2
zpu rom 327680 40
zpu ram 16384 2
" 16384 2
" 16384 2
" 16384 2
sio fifo rx 3840 1
sio fifo tx 2048 1...
foft
FO 10:28 PM Feature #76: Merge down to trunk
Building the mcc216 with this latest firmware + plumbing changes. Realized the scandoubler will not fit in the memory at the same time as this larger firmware, arg! foft
FO 09:31 PM Feature #79: SDHC and SDXC support
Tested my 32GB card from the Pandora and its working. This is the maximum supported by the Chameleon menu right now. foft

05/25/2019

FO 08:00 PM Feature #76: Merge down to trunk
I think chameleon 1 and chameleon 2 are good. firmware_eclaire is running on them and also on the eclaire.
Heading back to some other targets soon.
foft
FO 07:59 PM Feature #80 (Closed): Read roms from spi flash on chameleon
foft
FO 07:57 PM Feature #80: Read roms from spi flash on chameleon
Jens confirmed that they are all using the same flash chip.
Backport looking good to me...
foft

05/20/2019

FO 10:56 PM Feature #80: Read roms from spi flash on chameleon
Same flash chip as I'd used on the Eclaire... Pretty luck! Anyway the backport seemed to work without issue so far, just some plumbing. foft
FO 10:35 PM Feature #80: Read roms from spi flash on chameleon
Working on the backport now chameleon 2 is working well... foft
FO 10:34 PM Feature #78 (Closed): Get chameleon v2 working
Chameleon 2 is working pretty well.
Moving onto Chameleon 1 backport then will check all other cores work...
foft

05/19/2019

FO 11:31 PM Feature #78: Get chameleon v2 working
Well added a synchronizer on ba and also added a when others clause to put it back into a proper state.
Should probably discuss with Peter to see if there is a better fix.
foft
FO 11:19 PM Feature #78: Get chameleon v2 working
I wonder if ba needs a synchronizer or something like that? foft
FO 11:16 PM Feature #78: Get chameleon v2 working
Got a state capture when its working, goes through states as normal.
When it stops, no states are active!
foft
FO 11:13 PM Feature #78: Get chameleon v2 working
Re c64 keyboard, the state machine reading it appears to get stuck and just reads DC01 repeatedly?? foft
FO 10:52 PM Feature #78: Get chameleon v2 working
Now behaving again, think Chaco had got confused and was doing weird stuff. foft
FO 10:41 PM Feature #78: Get chameleon v2 working
Getting some weird behaviour tonight - cores not starting etc. Unclear what the issue is... foft
FO 10:25 PM Feature #78: Get chameleon v2 working
Tried it in the c64. Keyboard works, but only sometimes! Need to work out why. foft

05/18/2019

FO 10:29 PM Feature #78: Get chameleon v2 working
Did the keyboard plumbing. Seems to work - okish. Though can save some bytes by doing this part in vhdl I think, so might do that. foft
FO 10:09 PM Feature #78: Get chameleon v2 working
Of course one more important step: try it in a C64! foft
FO 09:54 PM Feature #78: Get chameleon v2 working
Picked up the slot from the micro. Computed the location of the rom. I added 256kb of blank space first to aligned to a block (this board has 64kb but some might be 256kb...). Now loading and saving is working well.
Docs on the chamel...
foft
FO 09:49 PM Feature #80: Read roms from spi flash on chameleon
Got this working as part of the port on chameleon 2.
Need to apply the same updates to chameleon 1.
foft

05/14/2019

FO 09:26 PM Feature #78: Get chameleon v2 working
OK, that works foft
FO 09:21 PM Feature #78: Get chameleon v2 working
I should be passed the slot by the microcontroller, but since I'm using sof at the moment that clearly isn't working. The firmware is currently hardcoded to 0x200000. Which is slot 2 (but wrong half of it!). Will just give that a spin to... foft
FO 09:18 PM Feature #78: Get chameleon v2 working
1c7018, which is...
EN25QH128A
datasheet attached
So, 64k blocks (erase by d8 as currently used, sector also possible)
Should just work, once I change the addresses.
foft

05/13/2019

FO 10:33 PM Feature #78: Get chameleon v2 working
I can't see which flash chip is used, guess I'll just wire it up and try reading the id! foft
FO 10:27 PM Feature #78: Get chameleon v2 working
+ 3 byte header with binary length (when flashing rpd) foft
FO 10:20 PM Feature #78: Get chameleon v2 working
I have a 1MB slot. The core itself takes about 350KB compressed. So lets say we have 1/2 MB conservatively to store roms etc. The standard eclaire settings saving takes 192KB.
I guess I can also allow the rpd flashing support.
So... ...
foft
FO 10:09 PM Feature #78: Get chameleon v2 working
Testing video mode setting (only basic stuff, rgb/vga, no pll reprogramming) and looking ok.
Tested 3rd/4th joysticks in atari800 mode. Got them working but had to change/fix a few small things.
Want to try out flash chip next...
foft
 

Also available in: Atom