Helpful ReplyHot!(SOLVED) PIC32MZ EF Starter Kit + Harmony UDP Bootloader Not Working

Author
ricard
Starting Member
  • Total Posts : 31
  • Reward points : 0
  • Joined: 2010/08/14 07:47:25
  • Location: 0
  • Status: offline
2017/06/18 05:51:57 (permalink)
0

(SOLVED) PIC32MZ EF Starter Kit + Harmony UDP Bootloader Not Working

Hi,

I recently bought this starter kit and after 2 days not sleeping I cannot get it to work...
I checked correct harmony configuration according aplication notes. UDP PIC32MZ EF
Fixed IP 192.168.1.11 and UDP pot 6234
Project compiles, Device is succesfully programed and red led 1 starts to blink
Connected the ethernet cable from starter kit to my switch.
Connected the ethernet cable from my pc to my switch
Started pc "Pic 32 Bootloader Apllication V1.2"
Select UDP, IP 192.168.1.11 and UDP Port 6234.
Never Connect... :(
What I'm missing??

Many thanks in advance,

Regards,

Rick.
post edited by ricard - 2017/06/20 02:41:09
#1
Jim Nickerson
User 452 _
  • Total Posts : 4362
  • Reward points : 0
  • Joined: 2003/11/07 12:35:10
  • Location: San Diego, CA
  • Status: offline
Re: PIC32MZ EF Starter Kit + Harmony UDP Bootloader Not Working 2017/06/18 07:08:10 (permalink)
4 (1)
I use a switch with port mirroring to ensure I can see "all" the traffic.
#2
NKurzman
A Guy on the Net
  • Total Posts : 15127
  • Reward points : 0
  • Joined: 2008/01/16 19:33:48
  • Location: 0
  • Status: offline
Re: PIC32MZ EF Starter Kit + Harmony UDP Bootloader Not Working 2017/06/18 07:26:48 (permalink)
0
What version of Harmony?
#3
RISC
Super Member
  • Total Posts : 4645
  • Reward points : 0
  • Status: offline
Re: PIC32MZ EF Starter Kit + Harmony UDP Bootloader Not Working 2017/06/18 07:36:27 (permalink)
0
Hi,
Which Harmony version do you use ?
Did you follow the bootloader procedure ( volume 4 from the documentation page 2050 in the PDF help_harmony.pdf document )
Regards
#4
ricard
Starting Member
  • Total Posts : 31
  • Reward points : 0
  • Joined: 2010/08/14 07:47:25
  • Location: 0
  • Status: offline
Re: PIC32MZ EF Starter Kit + Harmony UDP Bootloader Not Working 2017/06/18 07:53:05 (permalink)
0
Tried both v1.11 and v2.03b Harmony versions.
 
I'm using a standard switch, no configuration possible. Also tried direct cable from my pc, configured with local adress 192.168.1,1 and mask 255.255.255.0
 
I need to press any button while trying to connect from pc application?
 
Other demos are working like berkely client or server.
 
Many thanks,
 
Rick.
 
#5
ricard
Starting Member
  • Total Posts : 31
  • Reward points : 0
  • Joined: 2010/08/14 07:47:25
  • Location: 0
  • Status: offline
Re: PIC32MZ EF Starter Kit + Harmony UDP Bootloader Not Working 2017/06/18 11:52:41 (permalink)
0
Is suposed the IP address set by Harmony in Network Configuration 0 (192.168.1.11) will be the same ip adress specified in the pc application, and is nothing related to the pc ip. I guess the starter kit side acts as a udp server? and pc side as client?
 
Never worked before with UDP , only TCP sockets with previous starter kits. Always success... :)
 
Thanks for your help.
 
Ricard.
 
#6
RISC
Super Member
  • Total Posts : 4645
  • Reward points : 0
  • Status: offline
Re: PIC32MZ EF Starter Kit + Harmony UDP Bootloader Not Working 2017/06/18 13:59:25 (permalink)
3 (1)
Hi,
ricard 
I'm using a standard switch, no configuration possible. Also tried direct cable from my pc, configured with local adress 192.168.1,1 and mask 255.255.255.0
I need to press any button while trying to connect from pc application?

 
As I already mentioned, please read the help manual...
The way to enter bootloader is explained
Regards
 
#7
optimus_jack
Starting Member
  • Total Posts : 46
  • Reward points : 0
  • Joined: 2017/02/16 03:02:47
  • Location: 0
  • Status: offline
Re: PIC32MZ EF Starter Kit + Harmony UDP Bootloader Not Working 2017/06/18 19:35:47 (permalink) ☄ Helpfulby stephaneC 2017/07/12 06:41:24
4 (2)
Hi Ricard,
 
As per the Release information for bootloader demonstration in the help_harmony.pdf for v2.03b there is a port enumeration issue when you use XC32v1.43. Better use XC32v1.42 for the UDP configuration.
 
I tried the demonstration on a PIC32MZ EF starter kit and it works perfectly with XC32v1.42.
 
Please go through the Applications Help ->Bootloader demonstration-> running the demonstration.
 
Specific step :
• UDP - Set the IP address at 192.168.1.11 and the UDP port at 6234 --> Device
• Set the IP address for your host PC to 192.168.1.12 with default subnet mask
#8
ricard
Starting Member
  • Total Posts : 31
  • Reward points : 0
  • Joined: 2010/08/14 07:47:25
  • Location: 0
  • Status: offline
Re: PIC32MZ EF Starter Kit + Harmony UDP Bootloader Not Working 2017/06/18 22:54:05 (permalink)
5 (2)
You great Jack !! :) It worked....
 
I missed / skiped this info and went directly to IPs configuration on the documentation.
 
Hope Microchip will solve this in next XC releases...
 
Thanks to all for your help... :)
 
Rick.
#9
optimus_jack
Starting Member
  • Total Posts : 46
  • Reward points : 0
  • Joined: 2017/02/16 03:02:47
  • Location: 0
  • Status: offline
Re: PIC32MZ EF Starter Kit + Harmony UDP Bootloader Not Working 2017/06/18 23:06:22 (permalink)
0
You are welcome, Happy to help :)
#10
RISC
Super Member
  • Total Posts : 4645
  • Reward points : 0
  • Status: offline
Re: PIC32MZ EF Starter Kit + Harmony UDP Bootloader Not Working 2017/06/19 16:35:20 (permalink)
0
Please put "solved" in the thread title
Regards
#11
mrpackethead
packet mangler
  • Total Posts : 857
  • Reward points : 0
  • Joined: 2007/04/01 23:33:39
  • Location: 0
  • Status: offline
Re: PIC32MZ EF Starter Kit + Harmony UDP Bootloader Not Working 2017/07/08 11:23:30 (permalink)
0
@Ricard Did you manage to upload a program an application to the device after you got the bootloader loaded? 
#12
RISC
Super Member
  • Total Posts : 4645
  • Reward points : 0
  • Status: offline
Re: PIC32MZ EF Starter Kit + Harmony UDP Bootloader Not Working 2017/07/10 13:30:34 (permalink)
3 (1)
#13
ffb.boy.30
Junior Member
  • Total Posts : 98
  • Reward points : 0
  • Joined: 2016/08/31 00:59:51
  • Location: 0
  • Status: offline
Re: PIC32MZ EF Starter Kit + Harmony UDP Bootloader Not Working 2017/12/07 03:27:31 (permalink)
0
I've size problem with my bootloader.
What is the size of your UDP bootloader ?
Mine is 0x1FEB4 of program used
 
#14
Jump to:
© 2017 APG vNext Commercial Version 4.5