PIC firmware v3.0 for Demon core v3

A cheap logic analyzer. Get one for $50, including worldwide shipping. A collaboration between the Gadget Factory and Dangerous Prototypes.

PIC firmware v3.0 for Demon core v3

Postby ian » Wed Feb 23, 2011 1:17 pm

This is PIC firmware v3.0 for Demon core v3. Includes Windows update utility and bat file

Get Demon core v3.xx

Get firmware upgrade utilities for other platforms

List of application downloads on the wiki

Fixes
*SPI speed increase in v2.6 tested ok with v3.xx Demon core, made permanent
*Updated to v3.0 to match v3.xx Demon core, this will help distinguish the full speed SPI versions for Demon core v3.xx from low-speed versions for SUMP core v2
*Fixed Winbond ROM read issue
Attachments
OLSv1-firmware-v3.0.zip
(120.18 KiB) Downloaded 1837 times
User avatar
ian
Crew
Crew
 
Posts: 10803
Joined: Mon Jul 06, 2009 6:14 am

Re: PIC firmware v3.0 for Demon core v3

Postby pbilke » Fri Feb 25, 2011 10:26 am

Anyone seen issues updating?
Was out yesterday and the IT gnome decided it would be good to update this desktop to win7sp1.
When starting the boot loader it attempts to install the driver (really attach the USB HID driver) but device mangler shows the device fails to start. Can update it elsewhere of course but am willing to help to try to resolve this before just connecting it to my linux box and updating.

P
pbilke
Newbie
Newbie
 
Posts: 2
Joined: Fri Feb 25, 2011 10:20 am

Re: PIC firmware v3.0 for Demon core v3

Postby ian » Sat Feb 26, 2011 4:04 am

Hi P,

Thanks for the report, I'm sorry about the upgrade issue.

I'm not sure what the issue would be. I've been waiting to hear of similar issues, but there have been none so far. Did you update on Linux instead?
User avatar
ian
Crew
Crew
 
Posts: 10803
Joined: Mon Jul 06, 2009 6:14 am

Re: PIC firmware v3.0 for Demon core v3

Postby pbilke » Mon Feb 28, 2011 12:01 pm

Have not upgraded the pic yet.
This is an original unit that the boot loader was missing on but after rescue its been working without issue.
Have not looked for any comments from diolan to see if they have seen issues yet.
pbilke
Newbie
Newbie
 
Posts: 2
Joined: Fri Feb 25, 2011 10:20 am

Re: PIC firmware v3.0 for Demon core v3

Postby exerion » Tue Mar 01, 2011 8:11 pm

I haven't had any problem with new fw and fpga updates. Clear signals, fast communication... all ok
exerion
Newbie
Newbie
 
Posts: 20
Joined: Fri Feb 04, 2011 5:29 pm

Re: PIC firmware v3.0 for Demon core v3

Postby ian » Sat Mar 05, 2011 8:32 am

Hi pbilke,

Any update on this issue? Did you get it going again? Please let me know if you need any more help.
User avatar
ian
Crew
Crew
 
Posts: 10803
Joined: Mon Jul 06, 2009 6:14 am

Re: PIC firmware v3.0 for Demon core v3

Postby mjbrown » Tue Nov 01, 2011 2:44 am

Where can I get the source code for the PIC firmware?

I want to use the hardware UART to control some AX-12 actuators, and I want to leave the OLS operational if possible.
mjbrown
Newbie
Newbie
 
Posts: 4
Joined: Tue Nov 01, 2011 2:33 am

Re: PIC firmware v3.0 for Demon core v3

Postby ian » Tue Nov 01, 2011 8:13 am

The latest should be in the gadget factory git hub:
http://gadgetfactory.net/logicsniffer/

I attached my latest copy, though it may not be synced. You'll also need to get the Microchip USB stuff on your own.
Attachments
ols-ian-latest.zip
(145.02 KiB) Downloaded 513 times
User avatar
ian
Crew
Crew
 
Posts: 10803
Joined: Mon Jul 06, 2009 6:14 am

Re: PIC firmware v3.0 for Demon core v3

Postby mjbrown » Wed Nov 02, 2011 1:19 am

Thank you. I tried getting the source from the git repository and when trying to build I got the error:

OpenBench-Logic-Sniffer/build/build.xml:50: The following error occurred while executing this line:
OpenBench-Logic-Sniffer/client/jawis-client/ols.distribution/target/ols-0.9.4-full.zip' doesn't exist

I'm not familiar with ant and maven so I have no clue how to troubleshoot.
mjbrown
Newbie
Newbie
 
Posts: 4
Joined: Tue Nov 01, 2011 2:33 am

Re: PIC firmware v3.0 for Demon core v3

Postby ian » Wed Nov 02, 2011 2:15 am

I'm really sorry, I've also never worked with them.
User avatar
ian
Crew
Crew
 
Posts: 10803
Joined: Mon Jul 06, 2009 6:14 am

Re: PIC firmware v3.0 for Demon core v3

Postby jawi » Wed Nov 02, 2011 2:25 am

@mjbrown: I suspect you need to do a 'mvn clean install' (presumed you've installed Maven) in OpenBench-Logic-Sniffer/client/jawis-client...

HtH
User avatar
jawi
Developer
Developer
 
Posts: 596
Joined: Thu May 27, 2010 2:54 am
Location: The Netherlands

Re: PIC firmware v3.0 for Demon core v3

Postby wayoda » Wed Nov 02, 2011 4:31 am

ian wrote:The latest should be in the gadget factory git hub:
http://gadgetfactory.net/logicsniffer/


Hi Ian,

lately I searched for the PIC-Firmware source code on GitHub
https://github.com/GadgetFactory/OpenBe ... ic-Sniffer
but all I found where the already compiled HEX-Files in this location
https://github.com/GadgetFactory/OpenBe ... C_firmware

In the end I pulled the files from the old gadgetforge svn.

ian wrote:I attached my latest copy, though it may not be synced. You'll also need to get the Microchip USB stuff on your own.

Would be nice if the source code could be merged into the github project files, maybe into a dedicated directory "PIC-Firmware/src".

Adding a README with a link to this article
http://dangerousprototypes.com/docs/Com ... C_projects
should get people started.

Eberhard
wayoda
Jr. Member
Jr. Member
 
Posts: 78
Joined: Thu May 06, 2010 5:59 am

Re: PIC firmware v3.0 for Demon core v3

Postby mjbrown » Wed Nov 16, 2011 5:02 pm

I was able to download and compile your PIC firmware code, but USB functionality isn't quite working right.

I notice in the compiled PIC firmware, the Product ID is 0xFC92. The product ID in the usb_descriptors.c from CDC - Serial Demo from Microchip is now 0x000A. I imagine there are also other changes which are causing my USB not to work quite right. Could you diff the current usb_descriptors.c to your version and give me the changes?

The second thing I noticed is in the .zip you posted there is a PUMP.hex and a ols.hex. ols.hex works correctly and is twice the size of PUMP.hex. The hex I get after compiling is much closer to the PUMP.hex, am I doing something wrong when I compile?

Thanks.

ROM USB_DEVICE_DESCRIPTOR device_dsc=
{
0x12, // Size of this descriptor in bytes
USB_DESCRIPTOR_DEVICE, // DEVICE descriptor type
0x0200, // USB Spec Release Number in BCD format
CDC_DEVICE, // Class Code
0x00, // Subclass code
0x00, // Protocol code
USB_EP0_BUFF_SIZE, // Max packet size for EP0, see usb_config.h
0x04D8, // Vendor ID
0x000A, // Product ID: CDC RS-232 Emulation Demo
0x0100, // Device release number in BCD format
0x01, // Manufacturer string index
0x02, // Product string index
0x00, // Device serial number string index
0x01 // Number of possible configurations
};
mjbrown
Newbie
Newbie
 
Posts: 4
Joined: Tue Nov 01, 2011 2:33 am

Re: PIC firmware v3.0 for Demon core v3

Postby mjbrown » Thu Nov 17, 2011 12:58 am

Nevermind.

I got it working by using the "CDC Serial Emulator" usb_descriptors.c and usb_config.h instead of the "CDC - Basic Demo" like it says in main.c. I haven't tried doing a ROM update but I finally got putUSBUSART working and that was all I needed. Sorry for whining before trying everything I could think of.
mjbrown
Newbie
Newbie
 
Posts: 4
Joined: Tue Nov 01, 2011 2:33 am

Re: PIC firmware v3.0 for Demon core v3

Postby ian » Thu Nov 17, 2011 4:25 am

No worries, sorry about the error in the docs. This will be eventually moved to the open USB stack and then we can distribute the complete source.
User avatar
ian
Crew
Crew
 
Posts: 10803
Joined: Mon Jul 06, 2009 6:14 am

Next

Return to Open Bench Logic Sniffer