can't connect mikroBootloader to XMEGA 128A1 board
-
- Posts: 161
- Joined: 14 Mar 2016 10:24
- Contact:
can't connect mikroBootloader to XMEGA 128A1 board
Hi,
before I started this topic, I red:
viewtopic.php?f=217&t=70594
viewtopic.php?f=217&t=77081
Whatever I did, I Don't get connection from mikroBootloader to my XMEGA 128A1 board.
I'm using this manual:
https://download.mikroe.com/documents/s ... l-v100.pdf
At a point, I took my scope and measured on the 2 data pins on the board of the conn 2 ( USB )
Something is happening. Pressing connect in mikroBootloader gives some action on the scope.
After a while I ( first closed mikroBootloader ) started USARTS-terminal.
Did/checked all the port settings and did 'connect' and got connected instantly!
Shows: 'Connected to COM8'
OK!
Did Send using 'repeat sending' .
USART terminal sends and receives.
Receiving is somehow strange, but it receives!
Next thing I did was playing with the RX- and TX-headers.
( jumpers are placed initilaly on PC2 and PC3 )
When 1 of the jumpers is removed, USARTS terminal doesn't receive anything.
The schematic shows the headers are placed between the U2 FT232RL and the XMEGA-chip.
This all tells me that there IS a communication between the XMEGA chip and USART termial.
I mean: USART-terminal <-> PC <-> USB <-> cable <-> U2 FT232RL <-> JUMPERS PC2/PC3 <-> XMEGA chip
Now, I assume, the board is ok!
But, how to continue with connecting mikroBootloader ( to get hex-files programmed) ?
Thanks in advance. Marcel
before I started this topic, I red:
viewtopic.php?f=217&t=70594
viewtopic.php?f=217&t=77081
Whatever I did, I Don't get connection from mikroBootloader to my XMEGA 128A1 board.
I'm using this manual:
https://download.mikroe.com/documents/s ... l-v100.pdf
At a point, I took my scope and measured on the 2 data pins on the board of the conn 2 ( USB )
Something is happening. Pressing connect in mikroBootloader gives some action on the scope.
After a while I ( first closed mikroBootloader ) started USARTS-terminal.
Did/checked all the port settings and did 'connect' and got connected instantly!
Shows: 'Connected to COM8'
OK!
Did Send using 'repeat sending' .
USART terminal sends and receives.
Receiving is somehow strange, but it receives!
Next thing I did was playing with the RX- and TX-headers.
( jumpers are placed initilaly on PC2 and PC3 )
When 1 of the jumpers is removed, USARTS terminal doesn't receive anything.
The schematic shows the headers are placed between the U2 FT232RL and the XMEGA-chip.
This all tells me that there IS a communication between the XMEGA chip and USART termial.
I mean: USART-terminal <-> PC <-> USB <-> cable <-> U2 FT232RL <-> JUMPERS PC2/PC3 <-> XMEGA chip
Now, I assume, the board is ok!
But, how to continue with connecting mikroBootloader ( to get hex-files programmed) ?
Thanks in advance. Marcel
To DIY or not to DIY
-
- Posts: 161
- Joined: 14 Mar 2016 10:24
- Contact:
Re: can't connect mikroBootloader to XMEGA 128A1 board
When the new AVR/mikropascal programmer/debugger/JTAG is available, I want to l purchase one.
Could this solve the problem?
When doing in circuit programming?
Kind regards.
Could this solve the problem?
When doing in circuit programming?
Kind regards.
To DIY or not to DIY
-
- Posts: 161
- Joined: 14 Mar 2016 10:24
- Contact:
Re: can't connect mikroBootloader to XMEGA 128A1 board
By the way, I don't notice R2 and R3 on the board, but they are drawn in the schematics.
To DIY or not to DIY
Re: can't connect mikroBootloader to XMEGA 128A1 board
Hi,
If you concluded that the board is OK, can you program the bootloader HEX and see if it working ?
https://www.mikroe.com/mikroxmega-board
Regards,
Filip.
If you concluded that the board is OK, can you program the bootloader HEX and see if it working ?
https://www.mikroe.com/mikroxmega-board
Regards,
Filip.
-
- Posts: 161
- Joined: 14 Mar 2016 10:24
- Contact:
Re: can't connect mikroBootloader to XMEGA 128A1 board
Unfortunately, it doesn't work!
Still can't get connected mikroBootloader to the board.
( have 5 of these boards, I want them to work )
As written before 'I assume the board is ok', when looking at all the actions I've been taken before.
To send that .HEX-file, first there has to be a connection.
Without connection: not able to upload the .HEX
( xmega_bootlader_firmware.hex )
Again, settings are according the manual:
Please help. Tnx in advance. Marcel
Still can't get connected mikroBootloader to the board.
( have 5 of these boards, I want them to work )
As written before 'I assume the board is ok', when looking at all the actions I've been taken before.
To send that .HEX-file, first there has to be a connection.
Without connection: not able to upload the .HEX
( xmega_bootlader_firmware.hex )
Again, settings are according the manual:
Please help. Tnx in advance. Marcel
To DIY or not to DIY
-
- Posts: 161
- Joined: 14 Mar 2016 10:24
- Contact:
Re: can't connect mikroBootloader to XMEGA 128A1 board
Oeps! Haven't somehow submit right a repley, here again, briefly:
Checked:
Atmega Clock at R1 ( coming from X1-circuit ) measured 8MHz kinda sinus/triangle shaped.
U2 FT232RL: measured 5V at pin20 (Vcc) OK!
U2 FT232RL Reset Datasheet "Active low reset pin. This can be used by an external device to reset the FT232R. If not required can be left unconnected, or pulled up to VCC."
Reset-pins measures 3.35V. Given by 4k7 over 10k to 5V from USB power in. Is ok!
( PCB shows R8[4k7] schematic shows R2. PCB shows R9[10k] schematic shows R3. )
Checked for 32kHz (X2-circuit) on CN1[PQ0/TOSC1], CN1[PQ1/TOSC2] NO signal!
Checked for 32kHz direct at X2-circuit : NO SIGNAL!
Extra: also measured during pressing CONNECT in mikroBootloader: no signal
Please help!
Tnx in advance. Kind regards. Marcel
Checked:
Atmega Clock at R1 ( coming from X1-circuit ) measured 8MHz kinda sinus/triangle shaped.
U2 FT232RL: measured 5V at pin20 (Vcc) OK!
U2 FT232RL Reset Datasheet "Active low reset pin. This can be used by an external device to reset the FT232R. If not required can be left unconnected, or pulled up to VCC."
Reset-pins measures 3.35V. Given by 4k7 over 10k to 5V from USB power in. Is ok!
( PCB shows R8[4k7] schematic shows R2. PCB shows R9[10k] schematic shows R3. )
Checked for 32kHz (X2-circuit) on CN1[PQ0/TOSC1], CN1[PQ1/TOSC2] NO signal!
Checked for 32kHz direct at X2-circuit : NO SIGNAL!
Extra: also measured during pressing CONNECT in mikroBootloader: no signal
Please help!
Tnx in advance. Kind regards. Marcel
To DIY or not to DIY
Re: can't connect mikroBootloader to XMEGA 128A1 board
Hi,
Do any of the other boards work with the bootloader ?
Regards,
Filip.
Do any of the other boards work with the bootloader ?
Regards,
Filip.
-
- Posts: 161
- Joined: 14 Mar 2016 10:24
- Contact:
Re: can't connect mikroBootloader to XMEGA 128A1 board
Filip, tnx for repley.
An other board: same problems.
( for the time being, I will wait for the CODEGRIP for AVR/mikroPascal to be available,
and meanwhile I'm continuing using my MEGA2560's )
But beside, any further hints are welcome!
Kind regards. A happy mikroPascal/AVR user.
( still learning and growing )
An other board: same problems.
( for the time being, I will wait for the CODEGRIP for AVR/mikroPascal to be available,
and meanwhile I'm continuing using my MEGA2560's )
But beside, any further hints are welcome!
Kind regards. A happy mikroPascal/AVR user.
( still learning and growing )
To DIY or not to DIY
-
- Posts: 161
- Joined: 14 Mar 2016 10:24
- Contact:
Re: can't connect mikroBootloader to XMEGA 128A1 board
Hi.
Recently, I noticed the onboard PDI connector.
Is this supported?
Found some programmer on internet but I want to be sure it is ok to use.
I noticed that in schematic that the RESET line is used when using programming over USB.
When using connectors PDI and/or JTAG: the reset line is controlled by the programmer connected to connector PDI or JTAG!
Kind regards. Marcel
By the way: will the codegrip for AVR/mikroPascal come soon?
All the controllers 'above' AVR have allready the codeGrip available!
Recently, I noticed the onboard PDI connector.
Is this supported?
Found some programmer on internet but I want to be sure it is ok to use.
I noticed that in schematic that the RESET line is used when using programming over USB.
When using connectors PDI and/or JTAG: the reset line is controlled by the programmer connected to connector PDI or JTAG!
Kind regards. Marcel
By the way: will the codegrip for AVR/mikroPascal come soon?
All the controllers 'above' AVR have allready the codeGrip available!
To DIY or not to DIY
Re: can't connect mikroBootloader to XMEGA 128A1 board
Hi,
Yes, we have in plans to add CODEGRIP for AVR as well.
Regards,
Filip.
Yes, we have in plans to add CODEGRIP for AVR as well.
Regards,
Filip.
-
- Posts: 161
- Joined: 14 Mar 2016 10:24
- Contact:
Re: can't connect mikroBootloader to XMEGA 128A1 board
Tnx, yes I understand.
Just got aware of the different ways of programming a microcontroller...
( ISP, JTAG, TPI, PDI, UPDI )
One day the AVR programmer will be avaiable and I can continue.
Kind regards.
Just got aware of the different ways of programming a microcontroller...
( ISP, JTAG, TPI, PDI, UPDI )
One day the AVR programmer will be avaiable and I can continue.
Kind regards.
To DIY or not to DIY
-
- Posts: 161
- Joined: 14 Mar 2016 10:24
- Contact:
Re: can't connect mikroBootloader to XMEGA 128A1 board
YES!
Got my AVR codegrip programmer!
Thanks!
How do I connect my XMEGA128 board?
I Compared the codecrip 10-pins connector to the board connectors, but in noway it can connect the right signal.
Even not at least the Vcc and GND!
Next I did was to consult the datasheets of all the codegrip adapters. adapt, adaptV1, adaptV2, adaptV3, adaptV4 and adaptV5: no connection possible.
( my AVR codegrip came with ' adapt' )
What is the next step I have to take to get the codegrip conected to my XMEGA128 board, correctly?
Kind regards!
Marcel
Got my AVR codegrip programmer!
Thanks!
How do I connect my XMEGA128 board?
I Compared the codecrip 10-pins connector to the board connectors, but in noway it can connect the right signal.
Even not at least the Vcc and GND!
Next I did was to consult the datasheets of all the codegrip adapters. adapt, adaptV1, adaptV2, adaptV3, adaptV4 and adaptV5: no connection possible.
( my AVR codegrip came with ' adapt' )
What is the next step I have to take to get the codegrip conected to my XMEGA128 board, correctly?
Kind regards!
Marcel
To DIY or not to DIY
-
- Posts: 161
- Joined: 14 Mar 2016 10:24
- Contact:
Re: can't connect mikroBootloader to XMEGA 128A1 board
Please, respond!
Kind regards.
Kind regards.
To DIY or not to DIY
Re: can't connect mikroBootloader to XMEGA 128A1 board
Hi,
Currently we don't have an adapter board for this, but you can use wire jumpers to connect individual pins according to the connector's pinout.
Regards,
Filip.
Currently we don't have an adapter board for this, but you can use wire jumpers to connect individual pins according to the connector's pinout.
Regards,
Filip.
-
- Posts: 161
- Joined: 14 Mar 2016 10:24
- Contact:
Re: can't connect mikroBootloader to XMEGA 128A1 board
Hi.
TNX!
I made an adapter from J1 from 'CODEGRIP Adapt' to JTAG conector on my ATXMEGA128A1 board: In codegrip the board isn't detected.
But then I noticed the board has to be connected by the PDI connector. This 6-pins connector has a GND, a RESET and a PDI.
But the codegrip doens't show a PDI signal!
I checked all the CODEGRIP Adap inlcuding V2, V3, V4, and V5.
Then I noticed on this picture some PDI:
How to coninue?
TNX!
I made an adapter from J1 from 'CODEGRIP Adapt' to JTAG conector on my ATXMEGA128A1 board: In codegrip the board isn't detected.
But then I noticed the board has to be connected by the PDI connector. This 6-pins connector has a GND, a RESET and a PDI.
But the codegrip doens't show a PDI signal!
I checked all the CODEGRIP Adap inlcuding V2, V3, V4, and V5.
Then I noticed on this picture some PDI:
How to coninue?
To DIY or not to DIY