Mspd21d
#81
Replies: 2 comments 7 replies
-
I think we have some info on the aeon mcu. I wouldn't expect to get linux running unless it's really close to something linux supoorts (like openrisc) but if you can build code for it I don't see why you couldn't run stuff on it. |
Beta Was this translation helpful? Give feedback.
3 replies
-
@shinyquagsire23 I just found this! Very promising: https://github.com/uxmal/reko/releases |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So I have an MStar MSPD21D. According to my bootlog, it's an AEON MCU for sure. See log:
'* SPI flash clock 27 MHz
MIU clock running in 144MHz by default...
miu16(0x09c1,0x0000)Initialize memory...
miu16(0x091c,0x0040)miu16(0x091c,0x0040)miu16(0x090f,0x0001)miu16(0x090f,0x0000)miu16(0x0910,0x14ce)miu16(0x0911,0x02b2)miu16(0x0912,0x4110)Reset PLL completed
miu16(0x0901,0x0001)miu16(0x0902,0x0361)miu16(0x090e,0x0004)miu16(0x0903,0x0010)miu16(0x0904,0x44c8)miu16(0x0905,0x0252)miu16(0x0906,0x5634)miu16(0x0907,0x000e)miu16(0x091d,0x0000)miu16(0x0920,0x0001)miu16(0x0930,0x0001)miu16(0x0940,0x0001)miu16(0x0950,0x0001)miu16(0x091b,0x0061)miu16(0x0900,0x0001)Memory initialization completed .
Memory self test completed .
ECC cache reset
ECC cache ON
MCU read burst ON
ISB burst mode ON
'* Switch CPU from 12MHz to 160MHz ... complete.
[Ceramal basic initialization complete]
Move code from SPI to DRAM ...done.
doinig gamma setup with table value
'# RTC reset ok [1].
msIR_Initialize IR clk 1 MHzC4 VERSION: UFF00
[CHIPTOP][0x03]BONDING_STS = 0x00FE
MSPD21D IC got SD MS XD pin
[CLKGEN][0x43]CLK_FCIE 0x0000 --> 0x0000
Warning!!! SD CF over current event.
gDisk2Slot[0] = 0x0038 sd ms xd
Init defult exist disk:
[0]0x0000
[0] Palette is loaded correctly!
[MApp_ReadCfgFromFlash] proname = CERAMAL$
[MApp_ReadCfgFromFlash] verion = 1.5
[boot]dstaddr:1360832
decode done... should be
Aeon image offset = 0x80200, size=0x19dd8
Successfully copied Aeon image into DRAM
Win1 Warning : mapping Xdata into Aeon memory space [0xF0]
'# AEON reset & enable ...
'..Set SPI base to 0xf0000000
'..Set QMEM base to 0xC0000000
Pre-Flag(IR_RPT_FIFOEMPTY)=6
ClearFIFO: Key=0,Flag(IR_RPT_FIFOEMPTY)=6
Pre-Flag(IR_RPT_FIFOEMPTY)=6
ClearFIFO: Key=0,Flag(IR_RPT_FIFOEMPTY)=6
Pre-Flag(IR_RPT_FIFOEMPTY)=6
ClearFIFO: Key=0,Flag(IR_RPT_FIFOEMPTY)=6
Pre-Flag(IR_RPT_FIFOEMPTY)=6
ClearFIFO: Key=0,Flag(IR_RPT_FIFOEMPTY)=6
Pre-Flag(IR_RPT_FIFOEMPTY)=6
ClearFIFO: Key=0,Flag(IR_RPT_FIFOEMPTY)=6
Pre-Flag(IR_RPT_FIFOEMPTY)=6
ClearFIFO: Key=0,Flag(IR_RPT_FIFOEMPTY)=6
Pre-Flag(IR_RPT_FIFOEMPTY)=6
ClearFIFO: Key=0,Flag(IR_RPT_FIFOEMPTY)=6
Pre-Flag(IR_RPT_FIFOEMPTY)=6
ClearFIFO: Key=0,Flag(IR_RPT_FIFOEMPTY)=6
Start msAPI_MIU_Get_BinInfo()
Start msAPI_MIU_Get_BinInfo() success!
osdcp_text_addr=a2000
[OSDcp_LoadJPEGIcon_init] osdcp_bmp_addr = a8e00
[SS] imageaddr = 110900, width = 112, height = 64
[SS] imageaddr = 12b100, width = 112, height = 64
Win1 Warning : mapping Xdata into Aeon memory space [0x0]
aeon lib built date:May 4 2008 16:14:40
Win1 Warning : mapping Xdata into Aeon memory space [0x20]
aeon code built date:Nov 2 2009
Win1 Warning : mapping Xdata into Aeon memory space [0x30]
aeon code built time:17:58:35
Win1 Warning : mapping Xdata into Aeon memory space [0x40]
Win1 Warning : mapping Xdata into Aeon memory space [0x41]
Win1 Warning : mapping Xdata into Aeon memory space [0x42]
Win1 Warning : mapping Xdata into Aeon memory space [0x43]
aeon code built time:129427
[Mailbox] unknown JPD command!
u16Index=0,paramJPEG.u16JPEGindex=5
[CP_JPEG] paramJPEG->u16JPEGindex=5 u32jpgBitstreamMemAdr=110900
u16Index=0,paramJPEG.u16JPEGindex=5
[CP_JPEG] paramJPEG->u16JPEGindex=5 u32jpgBitstreamMemAdr=110900
Anyone recognize CERAMAL?
I have two of these DPF720, one is in need of repair so was thinking at minimum, for linux, I will probably need to upgrade the ram and flash for this device to accommodate. Suppose I could pull the ram from one and install two ram chips on one of them, somehow. Lmk, if not i guess ill need to find a single unit with at least double capacity.
I have dumped the external flash for this device, and can provide that.
If I can't do linux, I still want to repurpose this somehow. Looking for any suggestions. I have seen a technique to write new functions in spare memory space, and replace calls to function addresses that were already in the firmware, with the addresses of those new functions. Doesn't seem out of reach.
MStar is my b****
Beta Was this translation helpful? Give feedback.
All reactions