-1

Apparently I cannot comment on your answer Matt, only edit my existing post due to my reputation score. Appreciate you input, here is what I can tell you. I am connecting the ICSP from the programming board to the board being programmed, so that would handle your Ground to Ground concern.

As for having a third board, I do not have that ability and the power source is being handled by the USB port into the board doing the Programming, in this case an Uno. Unfortunately disconnecting the boards to test the functionality doesn't work either as once you start up the sketch in serial monitor it attempts to enter programming mode. With no connections made it will pause until the appropriate connections are made. This output is generated after the connection have been properly verified and hooked up.


Does anyone have any idea what might be causing this random character to appear and then loop making it impossible to program?

Unknown issue when using the Nick Gammon Sketches for Board Detector or Board Programmer. Unsure what the issue is however whenever the ICSP Reset pin is connected to D10 as instructed the following message appears in a loop and nothing further happens.

Compiled on Sep 23 2015 at 13:48:37 with ÿ

The version of the sketch if 1.17

Any suggestions?

EDIT: The Baud Rate as you can see it 115200 as described in the documentation, any other baud rate display gibberish as expected.

enter image description here

The outcome that I anticipate is that the Uno (the board with the sketch) is to program my IC Station Mega 2560 with the appropriate Mega 2560 bootloader.

The board images are as follows. The Uno with the sketch has its reset ICSP pin into Pin 10 as described in the documentation. enter image description here

enter image description here

  • What baud rate do you have set in the serial monitor? – Nick Gammon Sep 25 '15 at 1:14
  • Also please post a photo of what you are doing. I presume you have two Arduinos or boards here? – Nick Gammon Sep 25 '15 at 1:16
  • "Unknown issue" is not very helpful - what are you doing, what do you expect the results to be, how do actual results differ, what sketch are you using, and what is your circuit? Photos would be good for the last, in addition to circuit diagram. Links to any of the above are fine. – AMADANON Inc. Sep 25 '15 at 1:42
  • I believe you can comment on your own post at any time. – Nick Gammon Oct 7 '15 at 8:24
  • Did this ever get resolved? – Nick Gammon Jan 23 '16 at 3:44
0

Sorry I haven't got a board to hand, are you sure they have a common ground? (Probably won't make any difference but when you are connecting boards its always a good starting point.)

That ÿ could be a glitch in the serial connection. You have checked the baud rate so the next stem is to check the wires. Is one of them dodgy?

It could also be the author of the program (Sorry Nick, no offence intended) not supplying the correct number of parameters to a print statement. Its very unlikely, because other people would have seen it, but can you run the program to that stage without the boards being linked? Does it work then?

Can you switch in a third board, of a different type if possible? Does it still happen then?

Have you tried reprograming the main board that is generating the output? Is the program memory of that board corrupt?

Do you have a power supply issue? Is the board suddenly drawing more current than it should and resetting itself?

Hope that helps, if not post you results.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.