[App_rpt-users] Anyone have MPLAB C compiler?

Sam Skolfield kj6qfs at gmail.com
Sun Oct 30 06:08:34 EDT 2016


Lee, that was it! Both my voter boards are now revived and working
perfectly! Thank you very much for pointing this out.

It's a real shame that there is no motivation to add such an important
piece of information to the PDF that would otherwise allow myself and many
others who have no PIC programming experience to EASILY do this on our own.
If that little omission was added to the document, I could have done this
ENTIRELY on my own simply by following the instructions. Perhaps it has
been forgotten that although the thru-hole board is no longer available,
the EAGLE files and parts list still are, and people who aren't experienced
with PICS may still want to "roll their own" without bugging the group.

By the way, if anyone else is looking for an updated link to download the
C30 compiler for MPLAB, here it is...

http://ww1.microchip.com/downloads/en/DeviceDoc/mplabc30-v3.25-comboUpgrade.exe
<http://www.microchip.com/mplab/mplab-x-ide>

Thanks again, Lee.


On Sat, Oct 29, 2016 at 7:36 PM, Lee Woldanski <ve7fet at tparc.org> wrote:

> Hi Sam,
>
> Try these instructions... (from my notes)...
>
> VOTER HardwareBootloader
>
> There are instructions in the documentation about loading up the Microchip
> IDE and burning the bootloader... but they are missing some important
> steps...
>
> Get and install MPLAB IDE V8.66 (this is an archived/older version).
>
> Get and install MPLABC30 V3.30C for PIC24 and dsPIC (get the educational
> LITE version). Select LITE mode when installing.
>
> Download ALL the files in the voter_bootloader folder, these are:
>
> ENC C30-SMT.cof
> ENC C30.cof
> voter-bootloader.mcp
> voter-bootloader.mcs
> voter-bootloader.mcw
>
> Load the voter-bootloader.mcp in MPLAB.
>
> Make sure JP7 is off on the voter board.
>
> Connect the PICKit2 to the ICSP header.
>
> In MPELAB go to Programmer --> PICKit2.
>
> This should acquire the target on the voter board.
>
> *In MPELAB go to File --> Import and load the ENC 30.cof file.* This step
> is MISSING from the original instructions, so there is nothing to program.
>
> *Now* you should be able to go to View --> Program Memory and find the IP
> address at 0x03018.
>
> In MPELAB go to Programmer --> Program to load the bootloader in to the
> voter board.
>
> Remove the PICKit2, the LED's should flash 3 times if the firmware loaded.
>
> Install JP7 on the voter board.
>
> Now, follow the firmware updating procedure below to load the firmware.
>
> Start the ENC_LOADER and load the current voter.cry from the
> board-firmware folder (SVN).
>
>
> You can also just use the Microchip IDE and the PICkit2 to read one of the
> existing boards, and program the rest... as a bonus, it loads the current
> firmware with it.
>
>
> Firmware Updates
>
> For bare chips, you need to load the voter-bootloader first. This is
> covered in the votersystem.pdf and more importantly (without missing
> steps), see above.
>
> For updating firmware once you have the bootloader installed, follow these
> steps...
>
> You need the two files you will find here:
>
> http://svn.ohnosec.org/viewvc/projects/allstar/voter/EBLEX%
> 20C30%20Programmer/?root=svn
>
> That is the ENC_Loader.ini and ENC_loader.exe. This is the utility to load
> the firmware in the PIC.
>
> Now you need the actual firmware file (one of the .cry files) from here:
>
> http://svn.ohnosec.org/viewvc/projects/allstar/voter/board-
> firmware/?root=svn
>
> or the source files and compile your self using the Microchip compiler.
>
> The ones with SMT in the name are for the RTCM and the ones without are
> for the original voter board (ours). Make sure you use the right one for
> the hardware that you have.
>
> Run ENC_loader.exe and enter the Target IP address of the RTCM/voter board
> (default 192.168.1.11) and click "set address".
>
> Click file and select the Voter.cry file that you downloaded.
>
> Telnet to the RTCM and login.
>
> Make sure that the Bootloader IP address is set to an appropriate value
> and saved.
>
> Issue the "r" command to reboot.
>
> Immediately click the "Capture Target" button in the Encrypted Ethernet
> Loader Utility.
>
> Once you see the message "LIA Status: 4000" you can click the "Program"
> button.
>
> Wait till you see the "finished programing file" message.
>
> Then click the "Reset LIA" button. The VOTER board should restart, and
> after about 5 seconds, the green activity light should start flashing, etc.
> It should be up and running the new software.
>
> I know that it works when you are on the same LAN as the RTCM.
>
> It works over a routed network if the routers properly forward UDP port
> 16388 and do proxy arp. I have had trouble getting it to work over the
> Internet via NAT at both ends.
>
> You will need to do calibration once the firmware is loaded.
>
>
> Lee
>
> On Sat, Oct 29, 2016 at 4:18 AM, Sam Skolfield <kj6qfs at gmail.com> wrote:
>
>> Looks like I'm in over my head a bit, not sure if I even need the C
>> compiler.
>>
>>
>> If anyone feels like helping me with a quick Teamviewer session, I'd
>> really appreciate it. Board is hooked up to PICKit, and MPLAB is
>> successfully recognizing the target device, just need some help loading the
>> bootloader. I followed instructions, MPLAB said it wrote successfully, but
>> no joy, the LED doesn't flash like I'm used to with the RTCMs when they
>> first boot, and I can't capture it with the EBLEX software.
>>
>>
>> 73,
>> PIC newbie aka KJ6QFS
>>
>> On Fri, Oct 28, 2016 at 10:40 PM, Sam Skolfield <kj6qfs at gmail.com> wrote:
>>
>>> Hello all,
>>>
>>> It appears as if the link in the " votersystem.pdf " for the MPLAB C
>>> Compiler for PIC24 and dsPIC v3.25 in LITE mode points to a page that
>>> indicates the download is no longer available. I've done quite a bit of
>>> googling for an alternate source, and can find nothing. Does anyone still
>>> have a copy they could send my way? I have a couple of voter boards running
>>> 1.07 (09/15/2012) and they keep hiccuping, dropping PTT and connection to
>>> server whenever transmitting. I have a PICkit 3 and want to try blowing the
>>> latest firmware in to see if it fixes.
>>>
>>> Thanks,
>>>
>>>
>>> --
>>> KJ6QFS
>>> Sam Skolfield
>>>
>>
>>
>>
>> --
>> KJ6QFS
>> Sam Skolfield
>>
>> _______________________________________________
>> App_rpt-users mailing list
>> App_rpt-users at ohnosec.org
>> http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
>>
>> To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mai
>> lman/listinfo/app_rpt-users and scroll down to the bottom of the page.
>> Enter your email address and press the "Unsubscribe or edit options button"
>> You do not need a password to unsubscribe, you can do it via email
>> confirmation. If you have trouble unsubscribing, please send a message to
>> the list detailing the problem.
>>
>
>
>
> --
> Lee Woldanski, AScT
> VE7FET
>



-- 
KJ6QFS
Sam Skolfield
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.allstarlink.org/pipermail/app_rpt-users/attachments/20161030/5616358b/attachment.html>


More information about the App_rpt-users mailing list