Skip to content
Discussion options

You must be logged in to vote

Ok, after a few hours of debugging tonight I have solved the problem here @TylerK07 Tyler. Without a better understanding of the chip architecture I cant give a definitive reason why its happening but I have a suspicion this is an interrupt or sleep/idle mode issue on the AVR128AD28 controller. It is code related and is a result of a problem with the .ino file and simply solved by banging on an i/o port of the AVR128 right before the YM3812 reset procedure:

void setup(void) { PROC_YM3812.reset();

with eg:

void setup(void) {
  checkFlashA();
  PROC_YM3812.reset();`

where the function checkFlash simply hits up an i/o pin

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@ogbreaks
Comment options

Comment options

You must be logged in to vote
1 reply
@TylerK07
Comment options

Answer selected by TylerK07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants