Jump to content
OMRON Forums

Downloading Configuration From USB Drive


msilverman

Recommended Posts

 

We require the USB configuration due to consistent issues with vital steps missed through the IDE, so having a thumbdrive to eliminate human error seems necessary at this point.

Currently loading onto a PowerBrick from USB drive. It seems to be loading the project itself fine, I have checked in the PMAC files (both through ftp and uploading the code from the PMAC after the thumbdrive upload) and it appears identical to the expected project.

Unfortunately, every time the IDE is open it gives the project load error. When attempting to run the uploaded code that was on the PMAC, it results in an error involving the capp.out file.

image.thumb.png.2aaad1f5f29b1b4d643e670dabecb1e8.png

I have tried both methods mentioned here:

And it always results in the same error:

image.png.228e85cb7ec734e308d928351b4bd152.png

 

How can I troubleshoot these errors/prevent them in the future when configuring with the USB?

Edited by msilverman
Clarity and further development in issue
Link to comment
Share on other sites

Posted (edited)

With the desired setup built and downloaded, config files downloaded, I've then connected to the PMAC to access the usrflash folder.

image.png.cead5fb95c136f9a7f5ba3a6acc801e1.png

image.pngimage.png.3ecbacb33a6bacbb50589b98197652fa.png

From there, I copy the contents into my own flashdrive in a PowerPMAC folder, as the steps in the linked forum post instruct.

image.png.0f728f0ef522c9b6ba689008d26c0f53.png

image.png.6af892d8717899a4b8dfcaff74398cee.png

image.png.69d7a0038f18705963fbcea9e5ab344c.png

To make sure that the PMAC begins in a factory reset state, I issue the '$$$***' command, power off, eject then add the programmed USB, then power on again.

image.png.1b5ada5a465f2ab566d0666a0845989a.png

This is where the ProjectLoadErr and PwrOnFault occur, after turning on power with the USB in the PMAC and connecting to the IDE.

image.png.d77804de07fc04a0b3d08484a524d008.png

In order to see what the flash has programmed the PMAC with, I upload the project from the PMAC.

image.thumb.png.0fa4943d752fe056d3643a2fd93d5cf7.png

image.png.308a25627e7d93f7cc08d2adb68b256a.png

image.thumb.png.2d2f76e20024ab63918d68f4eeaa208b.png

image.thumb.png.fecfcad1f1adcb193f44ba9239b031d3.png

image.png.860d55f7eb7fff15292282964c79c546.png

 

From here, I will try both building and downloading the project that appears to have been loaded into the IDE, then factory resetting, and opening the archive it has made of the PMAC code and building and downloading that project as well.

(The message that gave me the impression that the project was loaded and opened in the IDE:

image.thumb.png.f5edd1b01a2d7265dc6bf340caa132b0.png )

On attempting to build and download all programs from the code that was opened from the PMAC, this is the message that I receive.

image.thumb.png.40d9f607d57b75b1f1cd3eeabd427571.png

I will then double check by sending the factory reset command.

image.png.0f3405da0e23fe4eb45ef094c502947c.png

Next, I will clear the current solution, then open the program in the IDE from the archive that was created earlier.

image.png.b46d5091632ac3b2a58ccd42f84f2dca.pngimage.png.a857358c3a0e62af72f89cd9aca34102.png

image.thumb.png.77599dc759f8deeb050386b254d1f4e7.png

image.png.af9c37592e70be6395e0f22aad3d08a1.png

image.png.567e7cbf8218271e9b2b1acae9d73d50.png

image.png.e7d663126fa4b9a23ae74a74a390d56a.png

image.thumb.png.353368031fcd440b447feecf84393f08.pngimage.thumb.png.337c1806fae0f01044e45c34cd0d86bd.png

Now that the PMAC has no program, the old program that was archived is open in the IDE, I now attempt to build and download, which results in the exact same error.

image.thumb.png.8b1c75729a31670076e2bd88836ee0de.png

Edited by msilverman
Removed accidental image upload at end to avoid confusion
Link to comment
Share on other sites

Uploading a project from PMAC may not create a complete project if “Download C Source Files” is not set to “Yes” or encryption is on in the project properties. In addition, a “Build” would need to be implemented to generate the object code files for all C programs present if the source files were present.

Creating a “bootable” USB drive in this way you describe here would not be valid. The project folders on “/var/ftp” are not the full PMAC project. They are only the “run-time” in volatile memory. The full PMAC project is stored at “/opt/ppmac”. Also, the “Download C Source Files” in the project properties must have been previously set to “Yes”.

Use instead the “Recovery Disk” tab of the Ide’s “Backup Restore” menu. This is documented in the “Power PMAC IDE” manual under the “Backup Restore” menu starting on page 72 (vs 4.6.1.12). Specifically see the section “Recovery Disk page” starting on page 75. This must be done after a full “Build and Download” of the IDE’s saved (on PC) project.

This is fundamentally a technical support issue. You can contact ODT's direct technical support with your full issue details at: ODT-Support@Omron.com

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...