584,837 active members*
5,183 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > Dynomotion/Kflop/Kanalog > Need a way to copy KFlop flash memory to create a duplicate board
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2015
    Posts
    3

    Need a way to copy KFlop flash memory to create a duplicate board

    I've got a K2 cnc running the KMotion / KFlop control system that is currently working just fine. My concern is that with K2 out of business, I would like to have a backup KFlop board in case anything happens to the first. The original files that K2 sent with the machine are not the ones that are flashed to the KFlop so they can't be used to recover the board. My machine was one of the first few to use KMotion and includes auto tool change and a dust hood gate that make it unique.

    My question is, is there any way to read and copy the flash memory from one KFlop board to another?

  2. #2
    Join Date
    May 2006
    Posts
    4043

    Re: Need a way to copy KFlop flash memory to create a duplicate board

    Hi raasco_alan,

    We don't have a method of transferring programs without the source.

    I suppose you could write a program to write out the Thread memory spaces as binary bytes then read them back in on the other board.
    (From PC_DSP.h)
    Code:
    #define USER_PROG_ADDRESS_KFLOP 0x80050000  // where first user program is loaded
    #define MAX_USER_PROG_SIZE_KFLOP 0x10000    // space between each thread/user program
    #define N_USER_THREADS 7              // how many user programs/threads there are

    I think you would need to also copy the persist structure that contains UserData, Program EntryPoints, and RunOnStartUp:
    (From KMotionDef.h)
    Code:
    #define N_USER_DATA_VARS 200
                        
    typedef struct
    {
        int RunOnStartUp; // word Bits 1-7 selects which threads to execute on startup   
        unsigned int EntryPoints[N_USER_THREADS];   // each downloaded program's entry point
        int UserData[N_USER_DATA_VARS]; // General purpose way to share and or save user program data
    } PERSIST;
    
    extern PERSIST persist;
    TK
    http://dynomotion.com

Similar Threads

  1. Replies: 1
    Last Post: 12-17-2016, 05:17 PM
  2. i can`t copy a program fom USB memory to CNC
    By alain aleman in forum Fanuc
    Replies: 3
    Last Post: 06-10-2015, 11:45 PM
  3. How to create mold to copy existing items?
    By Jakobud in forum Moldmaking
    Replies: 5
    Last Post: 12-04-2010, 02:54 PM
  4. Can't copy ALL programs from memory to USB...
    By Mike Braddock in forum Haas Lathes
    Replies: 9
    Last Post: 03-23-2009, 04:42 PM
  5. USB flash memory as bootdisk
    By slp_prlzys in forum Computers / Desktops / Networking
    Replies: 0
    Last Post: 09-26-2004, 09:03 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •