[Hackrf-dev] Jawbreaker firmware update fail
hackgnar
ripper at hackgnar.com
Mon Jul 29 20:52:45 EDT 2013
Graham,
I think you may just be stuck on a bad flash. The first time this happened to me, I had to bang my head on the table for a few minutes. These are the detailed steps on how to recover.
1) Following the steps on the wiki firmware section, I unplugged the hackrf, shorted the two pins to enter DFU boot mode and then plugged in the board with the pins still shorted.
2) I ran "make program" from inside the hackrf_usb directory. I got stuck here as I didn't have the program "dfu-program" installed. After installing this I was fine. You'll obviously also need other build dependancies up and running. The trickiest being https://code.launchpad.net/gcc-arm-embedded , but you can read the readme.md located here https://github.com/mossmann/hackrf/tree/master/firmware
3) After running "make program" successfully, you can then change into the hackrf_usb_rom_to_ram directory, compile the hackrf_usb_rom_to_ram.bin file and install it with:
hackrf_spiflash -w hackrf_usb_rom_to_ram.bin
This assumes you installed hackrf_spiflash to your base bin directories.
Let me know if you need any more help.
Ryan
On Jul 29, 2013, at 6:36 PM, Graham Cottew <gc at zendata.com> wrote:
> Happy to do that but do not know how to recover from my failed flash. The board appears to be in DFU mode even without the jumper in.
>
> What is the process for recovering if I am unable to run 'make program' ?
> I do not have a hackrf_usb.bin but I do have a known good hackrf_usb_rom_to_ram.bin from 2013.06.1
>
> What are the steps to get the DFU'd Jawbreaker to download these files?
>
>
> On 30/07/2013, at 9:15 AM, Michael Ossmann <mike at ossmann.com> wrote:
>
>> On Tue, Jul 30, 2013 at 09:06:55AM +1000, Graham Cottew wrote:
>>>
>>> Is that the expected LED status for DFU mode?
>>
>> Yes.
>>
>> I recommend using the binary firmware image from 2013.07.1 or 2013.06.1
>> in order to avoid problems with your compilation environment until you
>> have the hardware concerns sorted.
>
> _______________________________________________
> HackRF-dev mailing list
> HackRF-dev at greatscottgadgets.com
> http://nine.pairlist.net/mailman/listinfo/hackrf-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://nine.pairlist.net/pipermail/hackrf-dev/attachments/20130729/3ddc2363/attachment.html
More information about the HackRF-dev
mailing list