Raven060 (luciodra build).

luciodra
Site sponsor
Site sponsor
Posts: 96
Joined: Fri Jun 28, 2024 1:59 pm
Location: Rome

Raven060 (luciodra build).

Post by luciodra »

Good morning,
here is opening a space for personal experience in the creation of this beautiful card designed by @agranlund who I will never stop thanking.
The card was actually created by my friend Paolo, I'm wasting time trying to get it fully functional.
mb.jpg
mb.jpg (511.33 KiB) Viewed 432 times
Currently the card responds in some situations but gives me a black screen from the video output.
I continue here with the advice given by Agranlund.
1.jpg
1.jpg (324.83 KiB) Viewed 432 times
This photo shows the first situation: rom programmed with rom_mon.bin, serial output on Mac on the left, while serial output on PC on the right. It responds and you can give commands.
2.jpg
2.jpg (1.01 MiB) Viewed 432 times
3.jpg
3.jpg (533.71 KiB) Viewed 432 times
In these other two photos we have the result of the rom rom_con.bin
The first photo on PC is the fast serial, the second photo on Mac is the Atari serial output using the Serial terminal (but it's the same with CoolTerm).
I would like to point out the red LED referring to RX at the bottom right.
The parameters of both serial lines are the same and the speed is the suggested one at 115200 Baud.

Thank you !
luciodra
Site sponsor
Site sponsor
Posts: 96
Joined: Fri Jun 28, 2024 1:59 pm
Location: Rome

Re: Raven060 (luciodra build).

Post by luciodra »

With debug firmwares (rom_tos_dbg.bin), on com2 at 9600 baud, I simply get only one point. He doesn't like it...
User avatar
agranlund
Site sponsor
Site sponsor
Posts: 1121
Joined: Sun Aug 18, 2019 10:43 pm
Location: Sweden
Contact:

Re: Raven060 (luciodra build).

Post by agranlund »

luciodra wrote: Sun Nov 10, 2024 5:48 pm With debug firmwares (rom_tos_dbg.bin), on com2 at 9600 baud, I simply get only one point. He doesn't like it...
I don't suppose there is any difference with latest "rom_dbg.bin" in the release zip?

Click on "Raven.A1.latest" under Releases, then download "raven_a1_<builddate>.zip".
From here: https://github.com/agranlund/raven

It was just uploaded. I'm slowly but surely putting together proper binary release distribution separate from the source tree. It's a bit of a work in progress still. There will be a minimal software distribution with the tools and drivers in the zip too, but that part is not ready yet.
luciodra
Site sponsor
Site sponsor
Posts: 96
Joined: Fri Jun 28, 2024 1:59 pm
Location: Rome

Re: Raven060 (luciodra build).

Post by luciodra »

agranlund wrote: Sun Nov 10, 2024 9:50 pm
luciodra wrote: Sun Nov 10, 2024 5:48 pm With debug firmwares (rom_tos_dbg.bin), on com2 at 9600 baud, I simply get only one point. He doesn't like it...
I don't suppose there is any difference with latest "rom_dbg.bin" in the release zip?

Click on "Raven.A1.latest" under Releases, then download "raven_a1_<builddate>.zip".
From here: https://github.com/agranlund/raven

It was just uploaded. I'm slowly but surely putting together proper binary release distribution separate from the source tree. It's a bit of a work in progress still. There will be a minimal software distribution with the tools and drivers in the zip too, but that part is not ready yet.
Unfortunately the result is the same... :(
But thanks for the support anyway!
User avatar
agranlund
Site sponsor
Site sponsor
Posts: 1121
Joined: Sun Aug 18, 2019 10:43 pm
Location: Sweden
Contact:

Re: Raven060 (luciodra build).

Post by agranlund »

luciodra wrote: Sun Nov 10, 2024 11:35 pm Unfortunately the result is the same... :(
I've updated the release package with a new rom_dbg.bin and it would be interesting to hear what the results are.

EmuTOS will now use COM1 for kernel debug messages instead of COM2 which has a few advantages:

- You'll get all early EmuTOS debug messages.
With COM2 we didn't get early messages which happens before EmuTOS initializes Atari RS232.
- Less reliant on other things working.
Pretty much only COM1, which we should have already proven by getting those first Raven bootup messages.

COM1 baud rate is 115200 as usual.
luciodra
Site sponsor
Site sponsor
Posts: 96
Joined: Fri Jun 28, 2024 1:59 pm
Location: Rome

Re: Raven060 (luciodra build).

Post by luciodra »

Code: Select all

RAVEN060

CPU:  M68LC060R04
ROM:  20241111
RAM0: 01000000
RAM1: 01000000
RAM2: 01000000

InitBss
InitHeap
InitUart
InitIkbd
InitMfp
InitMidi
InitI2C
InitRtc
InitCfg
InitVbr
InitMonitor
InitAtari
InitVbr
InitMmu
InitEmu
InitTos
Start
bios_init()
processor_init()
Address Bus width is 32-bit
vecs_init()
init_delay()
init_delay loopcount_1_msec=110000
machine_detect()
ttram_detect()
ttram_detect(): ramtop=0x03900000
detect_ide(): has_ide = 0x01
detected_busses = 0x0004
VGA card detected at IO=0xfedc0000 / mem=0xfec00000
machine_init()
bmem_init()
Memory map before balloc() adjustments:
        _text = 0x00e00000
       _etext = 0x00e7be10
        _data = 0x00e7be10
       _edata = 0x00e7be10
         _bss = 0x00002140
   _endvdibss = 0x0000a9f0
        _ebss = 0x00012e14
       stkbot = 0x00000800
       stktop = 0x00001000
_end_os_stram = 0x00012e14
       membot = 0x00012e14
       memtop = 0x00400000
cookie_init()
fill_cookie_jar()
cookie_vdo = 0xffffffff
cookie_mch = 0xffffffff
cookie_snd = 0x00000001
wrong nvram: expected=0xff00 actual=0x0000
cookie_akp = 0x00000000
wrong nvram: expected=0xff00 actual=0x0000
cookie_idt = 0x0000002f
font_init()
mfp_init()
screen_init_mode()
linea_init()
linea_init(): 640x400 1-plane (v_lin_wr=80)
screen_init_address()
before balloc_stram: membot=0x00012e14, memtop=0x00400000
balloc_stram(32768, 1)
balloc_stram(32768, 1) returns 0x003f8000
 after balloc_stram: membot=0x00012e14, memtop=0x003f8000
v_bas_ad = 0x003f8000, vram_size = 32768
setphys(0x003f8000)
vt52_init()
after vt52_init()
init_system_timer()
Panic: Exception number 87
sr=2000 pc=00e011e0

D0-3: 00002700 00000000 0058148c 00000000
D4-7: ffffffef 00400000 00000000 00000001
A0-3: 00000114 00000050 40001b4a 00e0912a
A4-7: 28408180 20000020 00000ffc 00000f74
 USP: 00000001

Panic: Exception number 71
sr=2000 pc=00e0956c

D0-3: 00002704 00003c00 00e011e0 00e00d09
D4-7: 00e00daf 00e00d98 00e00d8a 00e00d76
A0-3: 00e09304 00000050 00e09148 00e09179
A4-7: 00e0910c 20000020 00000ffc 00002330
 USP: 00000001
User avatar
agranlund
Site sponsor
Site sponsor
Posts: 1121
Joined: Sun Aug 18, 2019 10:43 pm
Location: Sweden
Contact:

Re: Raven060 (luciodra build).

Post by agranlund »

I'm going to guess the same thing happens without the graphics card too?

When you get to that point where it crashes. could you do this and post the messages?

- Press the NMI button (the button in the top-left part of the motherboard, next to Eiffel)
- Run these commands to make it dump some useful address ranges.

Code: Select all

d $0 $200
d $581000 $200
d $a0000a00 $30
d $a1000a00 $30
d $fffa00 $30
When you pressed the NMI button it should print all registers. If "vbr" says anything other than 581000 then replace the equivalent command above with that number instead :)

The crash appears interrupt related and EmuTOS has just set up TimerC and enabled interrupts.
It's likely crashing on the first interrupt, though the vector it was jumped to is not correct which could mean a few different things at this point. This additional information may rule out some possibilities, hopefully.

The above commands dumps tos + hardware vector tables. And then MFP1 + MFP2 registers.
We're interesting in only the output from the emutos panic error an onward.
User avatar
agranlund
Site sponsor
Site sponsor
Posts: 1121
Joined: Sun Aug 18, 2019 10:43 pm
Location: Sweden
Contact:

Re: Raven060 (luciodra build).

Post by agranlund »

And while at it, may as well run this command too to check if we can communicate with the RTC through the MFP, now that MFP is somewhat of a suspect :)

Code: Select all

rtc
luciodra
Site sponsor
Site sponsor
Posts: 96
Joined: Fri Jun 28, 2024 1:59 pm
Location: Rome

Re: Raven060 (luciodra build).

Post by luciodra »

Without graphic card:

Code: Select all

RAVEN060

CPU: M68LC060R04
ROM: 20241111
RAM0: 01000000
RAM1: 01000000
RAM2: 01000000

InitBss
InitHeap
InitUart
InitIkbd
InitMfp
InitMidi
InitI2C
InitRtc
InitCfg
InitVbr
InitMonitor
InitAtari
InitVbr
InitMmu
InitEmu
InitTos
Start
bios_init()
processor_init()
Address Bus width is 32-bit
vecs_init()
init_delay()
init_delay loopcount_1_msec=110000
machine_detect()
ttram_detect()
ttram_detect(): ramtop=0x03900000
detect_ide(): has_ide = 0x01
detected_busses = 0x0004
VGA card detected at IO=0xfedc0000 / mem=0xfec00000
machine_init()
bmem_init()
Memory map before balloc() adjustments:
_text = 0x00e00000
_etext = 0x00e7be10
_data = 0x00e7be10
_edata = 0x00e7be10
_bss = 0x00002140
_endvdibss = 0x0000a9f0
_ebss = 0x00012e14
stkbot = 0x00000800
stktop = 0x00001000
_end_os_stram = 0x00012e14
membot = 0x00012e14
memtop = 0x00400000
cookie_init()
fill_cookie_jar()
cookie_vdo = 0xffffffff
cookie_mch = 0xffffffff
cookie_snd = 0x00000001
wrong nvram: expected=0xff00 actual=0x0000
cookie_akp = 0x00000000
wrong nvram: expected=0xff00 actual=0x0000
cookie_idt = 0x0000002f
font_init()
mfp_init()
screen_init_mode()
linea_init()
linea_init(): 640x400 1-plane (v_lin_wr=80)
screen_init_address()
before balloc_stram: membot=0x00012e14, memtop=0x00400000
balloc_stram(32768, 1)
balloc_stram(32768, 1) returns 0x003f8000
after balloc_stram: membot=0x00012e14, memtop=0x003f8000
v_bas_ad = 0x003f8000, vram_size = 32768
setphys(0x003f8000)
vt52_init()
after vt52_init()
init_system_timer()
Panic: Exception number 87
sr=2000 pc=00e011e0

D0-3: 00002700 00000000 0058148c 00000000
D4-7: ffffffef 00400000 00000000 00000001
A0-3: 00000114 00000050 40001b4a 00e0912a
A4-7: 28408180 20000020 00000ffc 00000f74
USP: 00000001

Panic: Exception number 71
sr=2000 pc=00e0956c

D0-3: 00002704 00003c00 00e011e0 00e00d09
D4-7: 00e00daf 00e00d98 00e00d8a 00e00d76
A0-3: 00e09304 00000050 00e09148 00e09179
A4-7: 00e0910c 20000020 00000ffc 00002330
USP: 00000001



d0: 00000000 d2: 00e0956c d4: 40001b4a d6: 28408180
d1: 003f0000 d3: 00e00d09 d5: 00e0912a d7: 20000020
a0: 00e0936d a2: 00e08230 a4: 00e0910c a6: 00000ffc
a1: 00000050 a3: 00e08230 a5: 20000020 a7: 00002318
pc: 00e08230 sr: 2004 usp: 00000001
vbr: 00581000 tc: 00008210 srp: 00580e00 urp: 00580e00
dt0: 00000000 dt1: 00000000 it0: 00000000 it1: 00000000
pcr: 04310403 bcr: 00000000 ccr: a0808000
> d $0 $200
00000000: 60 2e 02 06 00 e0 00 30 00 e0 04 aa 00 e0 04 ac `......0........
00000010: 00 e0 04 ae 00 e0 09 68 00 e0 04 b2 00 e0 04 b4 .......h........
00000020: 00 e0 06 82 00 e0 04 b8 00 e0 97 f8 00 e0 04 bc ................
00000030: 00 e0 04 be 00 e0 04 c0 00 e0 04 c2 00 e0 04 c4 ................
00000040: 00 e0 04 c6 00 e0 04 c8 00 e0 04 ca 00 e0 04 cc ................
00000050: 00 e0 04 ce 00 e0 04 d0 00 e0 04 d2 00 e0 04 d4 ................
00000060: 00 e0 04 d6 00 e0 09 68 00 e0 09 68 00 e0 09 68 .......h...h...h
00000070: 00 e0 be 7c 00 e0 09 68 00 e0 09 68 00 e0 09 68 ...|...h...h...h
00000080: 00 e0 04 e6 00 e0 04 e8 00 e5 2a 68 00 e0 04 ec ..........*h....
00000090: 00 e0 04 ee 00 e0 04 f0 00 e0 04 f2 00 e0 04 f4 ................
000000a0: 00 e0 04 f6 00 e0 04 f8 00 e0 04 fa 00 e0 04 fc ................
000000b0: 00 e0 04 fe 00 e0 09 00 00 e0 09 0e 00 e0 05 04 ................
000000c0: 00 e0 05 06 00 e0 05 08 00 e0 05 0a 00 e0 05 0c ................
000000d0: 00 e0 05 0e 00 e0 05 10 00 e0 05 12 00 e0 05 14 ................
000000e0: 00 e0 05 16 00 e0 05 18 00 e0 05 1a 00 e0 05 1c ................
000000f0: 00 e0 05 1e 00 e0 06 e4 00 e0 05 22 00 e0 05 24 ..........."...$
00000100: 00 e0 05 26 00 e0 05 26 00 e0 05 26 00 e0 05 26 ...&...&...&...&
00000110: 00 e0 05 26 00 e0 05 e6 00 e0 05 26 00 e0 05 26 ...&.......&...&
00000120: 00 e0 05 26 00 e0 05 26 00 e0 05 26 00 e0 05 26 ...&...&...&...&
00000130: 00 e0 05 26 00 e0 05 26 00 e0 05 26 00 e0 05 26 ...&...&...&...&
00000140: 00 e0 05 26 00 e0 05 26 00 e0 05 26 00 e0 05 26 ...&...&...&...&
00000150: 00 e0 05 26 00 e0 05 26 00 e0 05 26 00 e0 05 26 ...&...&...&...&
00000160: 00 e0 05 26 00 e0 05 26 00 e0 05 26 00 e0 05 26 ...&...&...&...&
00000170: 00 e0 05 26 00 e0 05 26 00 e0 05 26 00 e0 05 26 ...&...&...&...&
00000180: 00 e0 05 26 00 e0 05 26 00 e0 05 26 00 e0 05 26 ...&...&...&...&
00000190: 00 e0 05 26 00 e0 05 26 00 e0 05 26 00 e0 05 26 ...&...&...&...&
000001a0: 00 e0 05 26 00 e0 05 26 00 e0 05 26 00 e0 05 26 ...&...&...&...&
000001b0: 00 e0 05 26 00 e0 05 26 00 e0 05 26 00 e0 05 26 ...&...&...&...&
000001c0: 00 e0 05 26 00 e0 05 26 00 e0 05 26 00 e0 05 26 ...&...&...&...&
000001d0: 00 e0 05 26 00 e0 05 26 00 e0 05 26 00 e0 05 26 ...&...&...&...&
000001e0: 00 e0 05 26 00 e0 05 26 00 e0 05 26 00 e0 05 26 ...&...&...&...&
000001f0: 00 e0 05 26 00 e0 05 26 00 e0 05 26 00 e0 05 26 ...&...&...&...&
> d $581000 $200
00581000: 40 00 2f d8 40 00 2f e0 40 00 2f e8 40 00 2f f0 @./.@./.@./.@./.
00581010: 40 00 2f f8 40 00 30 00 40 00 30 08 40 00 30 10 @./.@.0.@.0.@.0.
00581020: 40 00 30 18 40 00 30 20 40 00 30 28 40 00 30 30 @.0.@.0 @.0(@.00
00581030: 40 00 30 38 40 00 30 40 40 00 30 48 40 00 30 50 @.08@.0@@.0H@.0P
00581040: 40 00 30 58 40 00 30 60 40 00 30 68 40 00 30 70 @.0X@.0`@.0h@.0p
00581050: 40 00 30 78 40 00 30 80 40 00 30 88 40 00 30 90 @.0x@.0.@.0.@.0.
00581060: 40 00 08 28 40 00 30 a0 40 00 30 a8 40 00 30 b0 @..(@.0.@.0.@.0.
00581070: 40 00 30 b8 40 00 30 c0 40 00 30 c8 40 00 07 7a @.0.@.0.@.0.@..z
00581080: 40 00 30 d8 40 00 30 e0 40 00 30 e8 40 00 30 f0 @.0.@.0.@.0.@.0.
00581090: 40 00 30 f8 40 00 31 00 40 00 31 08 40 00 31 10 @.0.@.1.@.1.@.1.
005810a0: 40 00 31 18 40 00 31 20 40 00 31 28 40 00 31 30 @.1.@.1 @.1(@.10
005810b0: 40 00 31 38 40 00 31 40 40 00 31 48 40 00 31 50 @.18@.1@@.1H@.1P
005810c0: 40 00 31 58 40 00 31 60 40 00 31 68 40 00 31 70 @.1X@.1`@.1h@.1p
005810d0: 40 00 31 78 40 00 31 80 40 00 31 88 40 00 31 90 @.1x@.1.@.1.@.1.
005810e0: 40 00 31 98 40 00 31 a0 40 00 31 a8 40 00 31 b0 @.1.@.1.@.1.@.1.
005810f0: 40 00 31 b8 40 00 31 c0 40 00 31 c8 40 00 31 d0 @.1.@.1.@.1.@.1.
00581100: 40 00 31 d8 40 00 31 e0 40 00 31 e8 40 00 05 e4 @.1.@.1.@.1.@...
00581110: 40 00 31 f8 40 00 32 00 40 00 05 ec 40 00 32 10 @.1.@.2.@...@.2.
00581120: 40 00 32 18 40 00 32 20 40 00 32 28 40 00 32 30 @.2.@.2 @.2(@.20
00581130: 40 00 32 38 40 00 32 40 40 00 32 48 40 00 06 04 @.28@.2@@.2H@...
00581140: 40 00 32 58 40 00 32 60 40 00 32 68 40 00 32 70 @.2X@.2`@.2h@.2p
00581150: 40 00 32 78 40 00 06 0c 40 00 32 88 40 00 32 90 @.2x@...@.2.@.2.
00581160: 40 00 32 98 40 00 32 a0 40 00 32 a8 40 00 32 b0 @.2.@.2.@.2.@.2.
00581170: 40 00 32 b8 40 00 32 c0 40 00 32 c8 40 00 32 d0 @.2.@.2.@.2.@.2.
00581180: 40 00 32 d8 40 00 32 e0 40 00 32 e8 40 00 32 f0 @.2.@.2.@.2.@.2.
00581190: 40 00 32 f8 40 00 33 00 40 00 33 08 40 00 33 10 @.2.@.3.@.3.@.3.
005811a0: 40 00 33 18 40 00 33 20 40 00 33 28 40 00 33 30 @.3.@.3 @.3(@.30
005811b0: 40 00 33 38 40 00 33 40 40 00 33 48 40 00 33 50 @.38@.3@@.3H@.3P
005811c0: 40 00 33 58 40 00 33 60 40 00 33 68 40 00 33 70 @.3X@.3`@.3h@.3p
005811d0: 40 00 33 78 40 00 33 80 40 00 33 88 40 00 33 90 @.3x@.3.@.3.@.3.
005811e0: 40 00 33 98 40 00 33 a0 40 00 33 a8 40 00 33 b0 @.3.@.3.@.3.@.3.
005811f0: 40 00 33 b8 40 00 33 c0 40 00 33 c8 40 00 33 d0 @.3.@.3.@.3.@.3.
> d $a0000a00 $30
a0000a00: 00 00 00 ff 00 00 00 00 00 20 00 00 00 20 00 00 ......... ... ..
a0000a10: 00 20 00 00 00 20 00 58 00 00 00 00 00 73 00 00 . ... .X.....s..
a0000a20: 00 00 00 3b 00 02 00 00 00 08 00 00 00 81 00 ff ................
> d $a1000a00 $30
a1000a00: 00 fb 00 00 00 00 00 00 00 20 00 00 00 20 00 00 ......... ... ..
a1000a10: 00 20 00 00 00 20 00 48 00 00 00 00 00 50 00 00 . ... .H.....P..
a1000a20: 00 00 00 58 00 00 00 00 00 00 00 00 00 90 00 ff ................
> d $fffa00 $30
00fffa00: 00 fb 00 00 00 00 00 00 00 20 00 00 00 20 00 00 ......... ... ..
00fffa10: 00 20 00 00 00 20 00 48 00 00 00 00 00 50 00 00 . ... .H.....P..
00fffa20: 00 00 00 6f 00 00 00 00 00 00 00 00 00 90 00 ff ................
>
> rtc
00000000: 27 01 00 01 01 01 00 00 00 00 00 00 00 00 00 00 '...............
00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030: 00 00 00 00 00 00 00 00 00 00 00 00 52 41 56 4e ............RAVN
>
Steve
Posts: 2856
Joined: Fri Sep 15, 2017 11:49 am

Re: Raven060 (luciodra build).

Post by Steve »

Luciodra please learn to use the code input for the forum posts!
Post Reply

Return to “RAVEN 060 - USER BUILDS”