Hacking How to contact kitling?

  • Thread starter Thread starter tranfeer
  • Start date Start date
  • Views Views 935
  • Replies Replies 2

tranfeer

Well-Known Member
Member
Joined
May 23, 2010
Messages
854
Reaction score
63
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.
 
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