Customer Stories
Blog
How to Buy
Contact Us
About Digi
Leadership
Locations
Awards
Export Policy
Environment
Careers
Investor Relations
IoT Products and Services
Embedded Systems
Digi XBee Ecosystem
Digi XBee RF Modules
Digi XBee Cellular Modems
Digi XBee Gateways
Digi XBee Tools
System-on-Modules
Single Board Computers
IoT Development Kits
Networking
Cellular Routers
Gateways
Infrastructure Management
Console Servers
Serial Connectivity
USB Connectivity
IoT Software and Services
Digi Remote Manager
Wireless Design Services
Professional Services
TrustFence Security Framework
Featured
5G
FirstNet
Private LTE/CBRS
Zigbee
USB Over IP/AnywhereUSB
XCTU
Digi TrustFence
/
Built-in security framework for the IoT
SmartSense
Solutions
Solutions by Application
Public Transit
Traffic Management
Remote Worker
Kiosks and Digital Signage
Branch Networking
Positive Train Control (PTC)
More Applications
Solutions by Technology
The Journey to 5G
Cellular Failover
FirstNet
Private LTE Based on CBRS
SD-WAN
Smart Out-of-Band Management
Zigbee Wireless Mesh Networking
More Technologies
Solutions by Industry
Energy
Smart Cities
Medical
Industrial
Retail
Transportation
Resources
Resource Library
Events
Webinars
Videos
Examples and Guides
Project Gallery
More Resources
Recent News
Press Releases
News Coverage
Security Center
Certifications
Support
Support Services
Support Forum
Product Returns (RMA)
Warranty Registration
Expert Support Login
Knowledge Base
Drivers
Firmware Updates
Documentation
Diagnostics, Utilities & MIBS
Embedded Patches
Sample Applications
Search
Remember
Register
Home
/
Support
/
Support Forum
/
Flash application
Digi Forum
All Activity
Q&A
Questions
Hot!
Unanswered
Tags
Categories
Users
Ask a Question
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.
All categories
Digi Remote Manager
(353)
Python
(964)
RF Solutions and XBee
(8,001)
Digi TransPort
(730)
Digi Connect Cellular
(410)
DAL
(2)
Embedded Devices
(4,056)
Android
(42)
NET+OS
(2,420)
Linux
(897)
Windows CE
(84)
Plug N' Play
(462)
Rabbit
(3,144)
Console Servers
(340)
Modbus and Industrial Automation
(235)
Realport
(580)
Serial Servers
(807)
Satellite Modules
(24)
USB
(1,216)
Serial Cards
(712)
ConnectPort Display
(54)
Feedback/Wish List
(86)
Other/Legacy
(331)
Flash application
0
votes
I have an application that I want to keep on my Digi ConnectME9210 but it gets erased whenever I turn the board off. How do I go about installing the application so that it persists on the device until I reflash?
connectme9210
embedded-linux
asked
Sep 9, 2016
in
Linux
by
mpc27
New to the Community
(
0
points)
recategorized
Sep 13, 2016
by
mpc27
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1 Answer
0
votes
if you put an application (image.bin) in flash using ftp it will stay there until you flasj something else.
What is your procedure of flashing your app?
answered
Sep 13, 2016
by
LeonidM
Veteran of the Digi Community
(
3,863
points)
I flash the module by building/installing an kernel/rootfs project, then doing update linux tftp, update rootfs tftp, dboot linux flash from the uboot console.
How do I got about ftp'ing the binary in flash? I can only seem to write to /tmp/ through ftp. Is there a way to unlock the filesystem?
>I flash the module by building/installing an kernel/rootfs project, then doing update linux tftp, update rootfs tftp, dboot linux flash from the uboot console.
This does indeed programs flash and it will be persistent. Do all those commands complete successfully?
if so, then you have your images in FLASH and they willl stay there until you repeat the above procedure.
Your rootfs is indeed read only because it is SQUASHFS so you cannot modify it from userspace. but "update" command above updates it with image you have built on host.
If the above works, what seems to be the problem?
Hi again, sorry to resurrect this old thread. Yes the procedure works, but I would like to keep my application flashed on the Digi module even after the module is powered off. It seems that I need to reprogram it or ftp the executable over every time the module is powered off. I tried to modify what filesystem I'm using but I get a kernel panic error if I try to use anything but SQUASHFS
update command in uboot updates flash and this survives power loss or reset until it's reprogrammed again. only /temp is mounted to RAM and wil be lost with power cycle
Please
log in
or
register
to add a comment.
...