Create Elf Production File Atmel Studio-7 - elf

Atmel Studio-7 , Device Programming, Production File: The 'Save' button creates an elf file.
When the elf file is subsequently opened. The 'Flash' and 'EEPROM' are greyed out and un-selectable.
Indicating that the Elf file does not contain The Flash or EEPROM that it should.
i.e
When 'Save' Button is used with Flash and EPROM files specified, and All options checked (Flash, EEPROM, User Signatures, Fuses, Lock Bits)
An elf file is generated.
However this elf file does not contain (Flash and EEPROM, or lock bits).
I would like Atmel Studio to generate an elf file that contains everything: Flash, EEPROM, User Signatures, Fuses and Lock bits, as specified by the check marks, and defined in the selected files.
Thanks

Related

STM32F407 memory layout

I am trying to use Percepio trace lib for FreeRTOS in Snapshot recorder mode.
After compilation and running it on my discovery board I need to somehow dump entire RAM to file.
I've started ST-LINK utility but I am puzzled on how to dump entire RAM.
Could some give hint on that matter?
You can find the memory layout on page 71 of the STM32F407xx Rev8 datasheet.
As ejohnso49 pointed out the SRAM of this chip is not contiguous. So you need address them twice (green and yellow area in the picture) to read out the whole data.
In STM32 ST-LINK Utility connect to device and enter 0x20000000 for address (start of SRAM, first section). For size enter 0x20000 0x30000 (128kB 192kB).
Now you can see the contents of the RAM in the window. For dumping the current view either click on the save icon or in the file menu on Save file as.
Do this also for the other CCM RAM section if you want.

Detect grabbed file systemwide with coordinates and path to file

Can i detect the coordinates and pathinfo of a file / files, when the user starts to move a file somewhere?
(Pressing and holding left-mouse on file)
Objective-C or Swift
This info may be found in NSDragPboard pasteboard. The filenames are usually located in NSFilenamesPboardType. Take a look at Apple's ClipboardViewer sources, it might be useful for you.

Why shouldn't you change the size of a binary file?

When I use HxD to modify a part of a file, it warns me about changing the size of the binary. What happens when you change the size of the exe file or other hex file that causes it to break?

How to create mfra box for ismv file if it is not present?

I am working on Live Smooth Streaming and it creates ismv file.
I want to copy this ismv file to other location.
But as streaming is in progress so copied file is corrupted.
I tested this file using Mp4Explorer and compared with other ismv files.
I found that copied ismv file lacks mfra atom.
Please suggest how to add mfra atom for ismv file so that copied ismv file can be easily played?
If you're live streaming I would not expect the Movie Fragment Random Access (mfra) box to be present. I believe it is used only used server side to allow for easy fragment extraction and is never passed across to the player. You'll also see the mfra in any mp4 files you have on your local disk.
What you are likely capturing is the individual fragments of the stream. These are made from the Movie Fragment (moof) and Media data (mdat). The moof has two other atoms inside, Movie Fragment Header (mfhd) and the Track Fragment (traf).
If you are trying to reassemble the file from fragments you will need to do this (conceptually)
[ftyp][moov][fragment][fragment]...[fragment][mfra]
Where each [] is a box that may contain other boxes. See Alex Zambelli's blog for some good info. You will need to create the [ftyp][moov] and the [mfra] to properly represent all of your other fragments.

trigger.io "The binary being analyzed must be an executable" itune issue

I went to upload my ipa as I normaly do and after upload it via itunes I got this email
The binary being analyzed must be an executable: /tmp/mz_3482061619165087240dir/conbop-1377470196-1.ipa/Payload/device-ios.app/Forge
The file 'device-ios.app/Default-568h#2x~iphone.png' is labeled as a PNG file, but is not valid to that format; file command reports: './device-ios.app/Default-568h#2x~iphone.png: JPEG image data, EXIF standard '
The file 'device-ios.app/Default-Landscape#2x~ipad.png' is labeled as a PNG file, but is not valid to that format; file command reports: './device-ios.app/Default-Landscape#2x~ipad.png: JPEG image data, EXIF standard '
The file 'device-ios.app/Default-Portrait#2x~ipad.png' is labeled as a PNG file, but is not valid to that format; file command reports: './device-ios.app/Default-Portrait#2x~ipad.png: JPEG image data, EXIF standard '
The file 'device-ios.app/Default-Portrait~ipad.png' is labeled as a PNG file, but is not valid to that format; file command reports: './device-ios.app/Default-Portrait~ipad.png: JPEG image data, EXIF standard '
The file 'device-ios.app/Default#2x~iphone.png' is labeled as a PNG file, but is not valid to that format; file command reports: './device-ios.app/Default#2x~iphone.png: JPEG image data, EXIF standard '
The file 'device-ios.app/Default~iphone.png' is labeled as a PNG file, but is not valid to that format; file command reports: './device-ios.app/Default~iphone.png: JPEG image data, EXIF standard '
Any help would be appreciated as to why itunes is kicking this back.
Thanks!
The image errors are because Apple require all the images are png files rather than jpgs, they appear to have recently become more strict about enforcing this which might be why you haven't had these problems before, you should be able to resave the files as png with an image editor.
I've not seen the binary is not an executable error before, I'd recommend trying again once you fix the image issues, if you still see that error it would be great if you could send your ipa file to support#trigger.io and we'll take a look at it.
I did have to change the images as well as do some other things with permissions. Connorhd explained in this post how to change the permissions for the time being.
The binary being analyzed must be an executable trigger.io