CPCWiki forum

General Category => Amstrad CPC hardware => Topic started by: FRAGKI-2012 on 01:50, 14 January 13

Title: PS2Mouse from bryce firmware problem
Post by: FRAGKI-2012 on 01:50, 14 January 13
I made the ps2mouse adaptor for cpc and the pic programmer , I took the hex program from bruce so that I program my pic but an error appears. The error says: " Varify failed at address 0000h! " The steps that I follow are:
I adapt the program in the right settings and I open the hex file that I have downloaded from cpcwiki  and then I click on "program all" .
Can anyone help me to solve my problem?
Thanks
Title: Re: PS2Mouse from bryce firmware problem
Post by: Bryce on 11:19, 14 January 13
PM with suggestions sent...

Bryce.
Title: Re: PS2Mouse from bryce firmware problem
Post by: TFM on 15:56, 14 January 13
Could the PIC be write protected?
Title: Re: PS2Mouse from bryce firmware problem
Post by: FRAGKI-2012 on 16:13, 14 January 13
probably not!!!
Title: Re: PS2Mouse from bryce firmware problem
Post by: FRAGKI-2012 on 16:14, 14 January 13
is any way to check that ??????????
Title: Re: PS2Mouse from bryce firmware problem
Post by: Bryce on 20:34, 14 January 13
Quote from: TFM/FS on 15:56, 14 January 13
Could the PIC be write protected?

PICs don't have write protection, only read protection (known as Code Protection) to stop someone from extracting your code. But even with that turned on, you can over-write the PIC.

Bryce.
Title: Re: PS2Mouse from bryce firmware problem
Post by: TFM on 21:22, 14 January 13
Quote from: Bryce on 20:34, 14 January 13
PICs don't have write protection, only read protection (known as Code Protection) to stop someone from extracting your code. But even with that turned on, you can over-write the PIC.

Bryce.

Right, you can overwrite - but you can't check. So a check of 'is data written correctly' could produce the above error message. Any other ideas?
Title: Re: PS2Mouse from bryce firmware problem
Post by: Bryce on 21:28, 14 January 13
No, when you do a "Write and Verify", the data is written, then verified and only then does the Code Protect bit gets set and user decides whether Code-Protect is set or not with and option in the PC program he's using. So you can still do all the verifying you want.

Bryce.
Title: Re: PS2Mouse from bryce firmware problem
Post by: TFM on 21:31, 14 January 13
Oh, good to know! ;)
Powered by SMFPacks Menu Editor Mod