Discussion:
[Hackrf-dev] HackRF Portapack
Jack Hunt
2017-10-15 01:19:12 UTC
Permalink
Hello!
I have some questions in regards to the Portapack. I'm looking to create a
similar board, without a screen and button, that can pass the RSSI through.
I was wondering how the Portapack's firmware was programmed (what software
was used). Also how the data that is stored on the SD card is formatted.

Thanks,
Jack
Jared Boone
2017-10-15 15:54:48 UTC
Permalink
Hi Jack,

I’m the developer of the PortaPack. I’m not clear about what you want to do, but I can try to answer your questions.

If you’re interested in the RSSI signal, it’s generated by the MAX2837, the chip that performs the second IF function. It’s hooked up to an analog to digital converter on the LPC4320 microcontroller. So with a few changes to the firmware, you can read it out via USB. Or you can use the RSSI value from within your own HackRF firmware, if you can’t afford the latency that USB would add.

The PortaPack is programmed using a subset of C++11. The firmware is open-source (GPL) and available on GitHub, if you want to look it over and appropriate parts for your own use:

https://github.com/sharebrained/portapack-hackrf/

There’s also the HAVOC fork of the project firmware which is definitely worth looking at.

The PortaPack uses the ELM-ChaN FatFs project to write FAT32 SD cards:

http://elm-chan.org/fsw/ff/00index_e.html

There is an option in the project to enable ExFAT, but I don’t do that because of patents. I’ve tested write performance of about 7 Mbytes/sec on high-quality SD cards. However most SD cards have an annoying habit of periodically “digesting” written data for tens of milliseconds. So sustained writes with the small amount of buffer RAM available on the microcontroller limits sustained write speeds to approximately 2 Mbytes/sec.

I hope that helps.

- Jared
Post by Jack Hunt
Hello!
I have some questions in regards to the Portapack. I'm looking to create a similar board, without a screen and button, that can pass the RSSI through. I was wondering how the Portapack's firmware was programmed (what software was used). Also how the data that is stored on the SD card is formatted.
Thanks,
Jack
_______________________________________________
HackRF-dev mailing list
https://pairlist9.pair.net/mailman/listinfo/hackrf-dev
Loading...