Hacking How to contact kitling?

tranfeer

Well-Known Member
OP
Member
Joined
May 23, 2010
Messages
854
Trophies
0
XP
339
Country
Australia
Firstly, thank kitling,SciresM ,normmatt and so on, who have created ntrboot_flasher.

However ,there seems to be a little bug in the code.

The code is listed as below:
REG_ROMCNT = 0;
REG_MCNT &= 0xFF;
::ioDelay(0x40000);
REG_MCNT |= (MCNT_CR1_ENABLE | MCNT_CR1_IRQ);
REG_ROMCNT = ROMCNT_NRESET | ROMCNT_SEC_SEED;
while (REG_ROMCNT & ROMCNT_BUSY);


However, ::ioDelay(0x40000) should be added in the end just as below:

REG_ROMCNT = 0;
REG_MCNT &= 0xFF;
::ioDelay(0x40000);
REG_MCNT |= (MCNT_CR1_ENABLE | MCNT_CR1_IRQ);
REG_ROMCNT = ROMCNT_NRESET | ROMCNT_SEC_SEED;
while (REG_ROMCNT & ROMCNT_BUSY);
::ioDelay(0x40000);

Some delay is needed after the Reset is just set to high again.
This little bug will lead to some errors.
 

Kubas_inko

"Something funny goes here."
Member
Joined
Feb 3, 2017
Messages
6,324
Trophies
1
Age
24
Location
I gues on earth.
XP
5,179
Country
Czech Republic
Firstly, thank kitling,SciresM ,normmatt and so on, who have created ntrboot_flasher.

However ,there seems to be a little bug in the code.

The code is listed as below:
REG_ROMCNT = 0;
REG_MCNT &= 0xFF;
::ioDelay(0x40000);
REG_MCNT |= (MCNT_CR1_ENABLE | MCNT_CR1_IRQ);
REG_ROMCNT = ROMCNT_NRESET | ROMCNT_SEC_SEED;
while (REG_ROMCNT & ROMCNT_BUSY);


However, ::ioDelay(0x40000) should be added in the end just as below:

REG_ROMCNT = 0;
REG_MCNT &= 0xFF;
::ioDelay(0x40000);
REG_MCNT |= (MCNT_CR1_ENABLE | MCNT_CR1_IRQ);
REG_ROMCNT = ROMCNT_NRESET | ROMCNT_SEC_SEED;
while (REG_ROMCNT & ROMCNT_BUSY);
::ioDelay(0x40000);

Some delay is needed after the Reset is just set to high again.
This little bug will lead to some errors.
On github, there issues tab. Just write it there
 
Last edited by Kubas_inko,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: https://youtube.com/shorts/WOppJ92RgGU?si=KE79L6A_3jESsGQM