Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

T1994_MEGA ICSP BUS

2 posters

Go down  Message [Page 1 of 1]

1T1994_MEGA ICSP BUS Empty T1994_MEGA ICSP BUS Sun Oct 22, 2023 5:49 pm

Defran

Defran

The ICSP bus for MEGA has some problem, I have tried several examples with displays and they do not work, these same ones work with UNO. I am preparing an example of a test with MEGA that is obvious, could you tell me if you see anything about this topic in the first instance?



Last edited by Defran on Mon Oct 23, 2023 10:52 am; edited 1 time in total

2T1994_MEGA ICSP BUS Empty Re: T1994_MEGA ICSP BUS Mon Oct 23, 2023 7:56 am

arcachofo

arcachofo

ICSP: In Circuit Serial Programming?

3T1994_MEGA ICSP BUS Empty Re: T1994_MEGA ICSP BUS Mon Oct 23, 2023 9:34 am

Defran

Defran

Yes, that's it. I am preparing an example in which the problem is clearly seen comparing between UNO and MEGA. I have sent you this post as a preview in case you already knew something about this.

T1994_MEGA ICSP BUS Icsp10

4T1994_MEGA ICSP BUS Empty Re: T1994_MEGA ICSP BUS Mon Oct 23, 2023 9:44 am

arcachofo

arcachofo

Yes please share that example.

5T1994_MEGA ICSP BUS Empty Re: T1994_MEGA ICSP BUS Mon Oct 23, 2023 10:03 am

Defran

Defran

First simple case: Example number 13. With UNO it works perfectly, but when changing it to MEGA by changing the corresponding pins it does not work.

T1994_MEGA ICSP BUS Graphi14
Attachments
T1994_MEGA ICSP BUS Attachment13_MEGA_MATRX GRAPHIC_1.zip
You don't have permission to download attachments.
(28 Kb) Downloaded 2 times
T1994_MEGA ICSP BUS Attachment13_MEGA_MATRX GRAPHIC_2.zip
You don't have permission to download attachments.
(30 Kb) Downloaded 2 times

6T1994_MEGA ICSP BUS Empty Re: T1994_MEGA ICSP BUS Mon Oct 23, 2023 10:17 am

Defran

Defran

I'm preparing the hardware to do all the live testing... ASAP I will send the results.

T1994_MEGA ICSP BUS 20231010

7T1994_MEGA ICSP BUS Empty Re: T1994_MEGA ICSP BUS Mon Oct 23, 2023 10:37 am

arcachofo

arcachofo

There is an error in an xml file, you can fix it yourself doing this:
data/AVR/m640_1280_2560/m640_perif.xml line 138
Change from this:
Code:
pins="PORTB3,PORTB2,PORTB1,PORTB0" /><!-- "MOSI,MISO,SCK,SS" -->
To this (B2 <--> B3):
Code:
pins="PORTB2,PORTB3,PORTB1,PORTB0" /><!-- "MOSI,MISO,SCK,SS" -->

8T1994_MEGA ICSP BUS Empty Re: T1994_MEGA ICSP BUS Mon Oct 23, 2023 10:52 am

Defran

Defran

Ok, now it works. Change this in your sources, please for future versions of simulide.

9T1994_MEGA ICSP BUS Empty Re: T1994_MEGA ICSP BUS Mon Oct 23, 2023 11:01 am

Defran

Defran

With the TFT ILI9341, It WORKS too. Thanks.

T1994_MEGA ICSP BUS Mega_i10

10T1994_MEGA ICSP BUS Empty Re: T1994_MEGA ICSP BUS Mon Oct 23, 2023 11:15 am

arcachofo

arcachofo

Thanks to you.

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum