Cold Boot Issue

CFTech
Posts: 9
Joined: Tue Mar 02, 2021 10:38 pm
Been thanked: 1 time

Cold Boot Issue

Unread post by CFTech »

There seems to be a problem with a (ST/E) hardware init during coldboot in the current Atari ST core. It usually won't start at first try (black screen) and does not react to either reset or cold start from OSD. I have to cycle between (ST/STE/MegaSTE/STEROIDS) modes randomly and use reset or cold start from OSD multiple times in order to make a proper boot. Once booted it is rock stable, so it is clearly not an SDRAM issue. Soft reset from keyboard (TOS2.6 or EmuTOS1.0.1) or OSD is not problem at all. It can literaly run for hours.

I have exactly the same issue with my TG68k/020 modded core.
grizzly
Top Contributor
Posts: 381
Joined: Tue Jun 16, 2020 12:22 pm
Has thanked: 58 times
Been thanked: 77 times

Re: Cold Boot Issue

Unread post by grizzly »

Why can it not be an SDRAM issue?
It sounds like you could be having bad connections/bad solder joint/cracked board/chip/component somewhere that wants some heat before it will work fine.
And SDRAM do have chips/boards/connector that can if your unlucky (OR lucky that it´s not the DE-10) have that kind of problem.

Try unplugging and re-seat SDRAM and then the next thing and the next until you have found what causes it or gone through everything.
CFTech
Posts: 9
Joined: Tue Mar 02, 2021 10:38 pm
Been thanked: 1 time

Re: Cold Boot Issue

Unread post by CFTech »

The SDRAM is definitely fine. A 4MB mode does work. I found this undocumented info in the mister FW source code st_tos.h:

Code: Select all

// (currently 4MB are fixed and cannot be changed)
#define TOS_MEMCONFIG_512K       (0<<1)   // not yet supported
#define TOS_MEMCONFIG_1M         (1<<1)   // not yet supported
#define TOS_MEMCONFIG_2M         (2<<1)   // not yet supported
#define TOS_MEMCONFIG_4M         (3<<1)   // not yet supported
#define TOS_MEMCONFIG_8M         (4<<1)
#define TOS_MEMCONFIG_14M        (5<<1)
#define TOS_MEMCONFIG_RES0       (6<<1)   // reserved
#define TOS_MEMCONFIG_RES1       (7<<1)   // reserved
So now it is make a sense as I always tend set RAM to maximum possible size (14MB).
Post Reply