You will not be able to post if you are still using Microsoft email addresses such as Hotmail etc
See here for more information viewtopic.php?f=20&t=7296
BOOKMARK THIS PAGE !
https://www.exxosforum.co.uk:8085/IP_CHECK/
You can unban yourself if needed. It also sends me reports to investigate the ban.
DO NOT USE MOBILE / CGNAT DEVICES WHERE THE IP CHANGES CONSTANTLY!
At this time, it is unfortunately not possible to whitelist users when your IP changes constantly.
You may inadvertently get banned because a previous attack may have used the IP you are now on.
So I suggest people only use fixed IP address devices until I can think of a solution for this problem!

TF CD32 Riser Revision 2 Design Complete

TF CD32 Riser

Moderators: terriblefire, Terriblefire Moderator

User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1367
Joined: 19 Jun 2019 07:36
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

As I didn't expect, not all keyboards are made equal. Mouse/Keyboard combo registers 6 buttons correctly as expected.
Ultra cheap ASDA and DELL keyboard can do only 4 buttons correctly.
I have slapped code which ignores error report, and just repeats previous recorded keys.

Depress button issue is non issue in workbench. In AmigaKit buttons appear white, but Shell just treat them as pressed for a second or so, and it just carry on. I though it will be registered as constant pressed. I think it may not be perfect, but it is bloody good enough.

I have pushed changes to repository. I think at this point it is ready to be tested.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
terriblefire
Admin sponsor
Admin sponsor
Posts: 5684
Joined: 28 Aug 2017 22:56
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

Right i'm gonna give this a whirl.
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
Higgy
Posts: 485
Joined: 23 Apr 2019 20:05
Location: Somerset

Re: TF CD32 Riser Revision 2 Design Complete

Post by Higgy »

A good test for the 'feel' of the keyboard performance might be with a pinball game like Pinball Dreams etc. See if it feels different from a normal keyboard AMIGA/cd32 set up.
terriblefire
Admin sponsor
Admin sponsor
Posts: 5684
Joined: 28 Aug 2017 22:56
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

CD32 resets every time i press a key. Something isnt 100%
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1367
Joined: 19 Jun 2019 07:36
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

terriblefire wrote: 16 May 2020 11:09 CD32 resets every time i press a key. Something isnt 100%
Damn. Which line is responsible for reset in cd32? Maybe it is not released after keypress, and Amiga 500 doesn't care about it.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
terriblefire
Admin sponsor
Admin sponsor
Posts: 5684
Joined: 28 Aug 2017 22:56
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

arkadiusz.makarenko wrote: 16 May 2020 12:05
terriblefire wrote: 16 May 2020 11:09 CD32 resets every time i press a key. Something isnt 100%
Damn. Which line is responsible for reset in cd32? Maybe it is not released after keypress, and Amiga 500 doesn't care about it.
Keyboard controller does all the resets on the CD32. Keyboard init causes reset. Thats why when you plug in a keyboard it reboots.
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
terriblefire
Admin sponsor
Admin sponsor
Posts: 5684
Joined: 28 Aug 2017 22:56
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

terriblefire wrote: 16 May 2020 12:13 Keyboard controller does all the resets on the CD32. Keyboard init causes reset. Thats why when you plug in a keyboard it reboots.
Checking we send these codes?

Code: Select all

// **************************
void amikb_startup(void)
{
	uint8_t AMIGA_INITPOWER = 0xFD; //11111101
	uint8_t AMIGA_TERMPOWER = 0xFE; //11111110

	DBG_N("Enter\r\n");

	// De-assert nRESET for Amiga...
	amikb_reset();

	amikb_direction(DAT_OUTPUT); // Default

	mdelay(1000);              // wait for sync
	amikb_send((uint8_t) AMIGA_INITPOWER, 0); // send "initiate power-up"
	udelay(200);
	amikb_send((uint8_t) AMIGA_TERMPOWER, 0); // send "terminate power-up"

	DBG_N("Exit\r\n")
}
Best reference i have for Amiga keyboard controller is ...

https://github.com/gianlucarenzi/stalkb
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1367
Joined: 19 Jun 2019 07:36
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

terriblefire wrote: 16 May 2020 13:23
terriblefire wrote: 16 May 2020 12:13 Keyboard controller does all the resets on the CD32. Keyboard init causes reset. Thats why when you plug in a keyboard it reboots.
Checking we send these codes?

Code: Select all

// **************************
void amikb_startup(void)
{
	uint8_t AMIGA_INITPOWER = 0xFD; //11111101
	uint8_t AMIGA_TERMPOWER = 0xFE; //11111110

	DBG_N("Enter\r\n");

	// De-assert nRESET for Amiga...
	amikb_reset();

	amikb_direction(DAT_OUTPUT); // Default

	mdelay(1000);              // wait for sync
	amikb_send((uint8_t) AMIGA_INITPOWER, 0); // send "initiate power-up"
	udelay(200);
	amikb_send((uint8_t) AMIGA_TERMPOWER, 0); // send "terminate power-up"

	DBG_N("Exit\r\n")
}
Best reference i have for Amiga keyboard controller is ...

https://github.com/gianlucarenzi/stalkb
That was I use.

On my cd32 keyboard does work, but is feels a little unresponsive on Diagrom, but doesn't reset computer on pressed key.
Ctr+Alt+Del does work as reset...

Keyboard init is executed on arm start now.

I need to run normal os...
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
terriblefire
Admin sponsor
Admin sponsor
Posts: 5684
Joined: 28 Aug 2017 22:56
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

Mine was crashing using DiagROM too. :/
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1367
Joined: 19 Jun 2019 07:36
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

I will push another version I removed reconfiguration of gpio to input, shortened clock pulses shortened data init singal a little etc. It is not as snippy as on A500, but does the job on my cd32.
You do not have the required permissions to view the files attached to this post.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem

Return to “TF CD32 Riser”

Who is online

Users browsing this forum: CCBot and 2 guests