Open Side Menu Go to the Top
Register
Nerd Standup Nerd Standup

08-23-2017 , 01:40 PM
We started doing this on a slack channel set up for alumni of my last company. The purpose is to list something cool you're working; or the nerdiest thing you've done today. May be overlapping with the LC thread, we'll see.

Today I updated our Shiny app to export data used in it's graphs.

They aren't all fixing Ardino sensors on the fly or breaking the production db and then fixing it before anyone noticed...
Nerd Standup Quote
08-23-2017 , 05:45 PM
Today I wrote a python script to convert an ELF file into a format that can be used to initialize a NOR Flash memory model. This way we can backdoor-load applications into Flash in 0 sim time rather than go through the programming process which takes up time.
Nerd Standup Quote
08-23-2017 , 06:34 PM
Quote:
Originally Posted by Lattimer
Today I wrote a python script to convert an ELF file into a format that can be used to initialize a NOR Flash memory model. This way we can backdoor-load applications into Flash in 0 sim time rather than go through the programming process which takes up time.
What is the file format for programming the flash?

I have been taking a class all week (System Security), have the certification exam tomorrow. Cramming today for it.
Nerd Standup Quote
08-23-2017 , 07:24 PM
We have rats in my attic at home. I set up a raspberry pi to take timelapse photos and upload them to another location to serve them to the web and make a timelapse movie out of it. Mostly just curious, I am 100% sure there are mice or rats in there. Also, it's about 120 degrees in the attic so I am wondering how the raspi will hold up. I had to reboot the switch out there today because it stopped routing DHCP packets.

ETA: nothing so far. Latest pic at http://bike-home.rustybrooks.com:8000/static/test.html, updated about 1x/minute. That's just so I can check that it's up, though, I'm taking a pic every 5s.
Nerd Standup Quote
08-23-2017 , 09:07 PM
Quote:
Originally Posted by adios
What is the file format for programming the flash?

I have been taking a class all week (System Security), have the certification exam tomorrow. Cramming today for it.
It's just ascii. But you need to extract a bunch of info from the ELF file beyond just the raw data, such as address/size info of certain sections, in order to create a proper header.
Nerd Standup Quote
08-24-2017 , 01:18 PM
Quote:
Originally Posted by Lattimer
It's just ascii. But you need to extract a bunch of info from the ELF file beyond just the raw data, such as address/size info of certain sections, in order to create a proper header.
S records
Nerd Standup Quote
08-24-2017 , 02:27 PM
Quote:
Originally Posted by adios
S records
Heh, that would've saved me some work. I still would've needed the script to do some manipulation with the srec file, but would've saved me the hassle of extracting the raw data from specific sections of the elf. It got me familiar with several of the readelf options though, so it was still educational even if unnecessary.
Nerd Standup Quote

      
m