Using a rasberry pi/arduino to emulate a ds cart

tntcraft

Active Member
OP
Newcomer
Joined
Jun 14, 2023
Messages
33
Trophies
0
Age
21
XP
105
Country
Romania
Idea is: get a bunch of wires connecting rpi with the cartridge slot, make the rpi emulate a cart , and use this to make a debug cart
 

ghjfdtg

Well-Known Member
Member
Joined
Jul 13, 2014
Messages
1,378
Trophies
1
XP
3,351
Country
It's not fast enough. People tried it. The protocol requires very precise timing and low latency you can't archive with a normal Raspberry Pi/Arduino. A Pi Pico is just about able to do it using PIO but it's pushing the limits.
 
  • Like
Reactions: KleinesSinchen

tntcraft

Active Member
OP
Newcomer
Joined
Jun 14, 2023
Messages
33
Trophies
0
Age
21
XP
105
Country
Romania

Sono

cripple piss
Developer
Joined
Oct 16, 2015
Messages
2,834
Trophies
2
Location
home
XP
9,476
Country
Hungary
any other microcntrollers? I dont have a pi pico but i do have an arduino sense ble

No, sadly. The Pico has special programmable hardware in it which make this barely possible.

The strict timing makes it impossible to use other microcontrollers or microprocessors. Even if you have a regular Pi clocked above 1GHz, it still won't work reliably due to it running under Linux, and interrupting your tight loops for so long that you miss a cartridge clock edge.
As for regular microcontrollers, they don't have nearly high enough clocks to be able to spinloop the CPU on them.

You either use an RP2040-based board, or get an FPGA, there is no in-between.
Alternatively you can get something running above 1GHz, but you need to be able to disable interrupts, which is usually not possible.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    a_username_that_is_cool tempBOT: @ a_username_that_is_cool has been completely healed! Somehow...