Started by quaskar, February 06, 2013, 06:27:32 pm
Quote from: avr_tester on July 24, 2014, 10:41:38 amHello,i have the same problem, i want to use the ISP to flash.But i don't understand why shall take for MOSI -> PE0 and for MISO -> PE1 ?The specs for AT90CAN128 say:PB3 MISO (SPI Bus Master Input/Slave Output)PB2 MOSI (SPI Bus Master Output/Slave Input)And PB3 and PB2 are free, i don't need to remove the MAX232.Why your recommandation are PE0 and PE1 with removed MAX232 ?Best regardsNebu
Quote from: dave-at-axon on August 04, 2014, 05:35:55 amAs they have the JTAG port on the board, do you have a JTAG programmer handy?With this you can read the fuses and see if the ISP is enabled? It would seem strange that it was not.Which lines did you connect for ISP? You need MOSI, MISO, SCK and RESET. These are the only lines you need to get ISP working. There is no need to remove any MAX232 as this is not connected to the ISP lines.The only issue that I can see is that the RESET line may not operate with the precise timing needed by the ISP because of the MCP120 but in theory, it should not affect the operation of the reset line from the ISP programmer. As long as C8 is not fitted, things should work. I've seen issues with Arduino and ISP when the cap on the reset line was fitted. According to the schematic, NA should mean it was not fitted.PS... The JTAG ICE3 is well worth the investment if you are doing a lot of work with the AVR devices. Being able to debug in real time on the target will speed up your debugging and programming time immensely.
Quote from: LubOlimex on April 29, 2013, 09:58:18 am...remove the U4 element...