Subversion Repositories freemyipod

Rev

Rev 444 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 444 Rev 452
Line 562... Line 562...
562
            f = open(filename, 'rb')
562
            f = open(filename, 'rb')
563
        except IOError:
563
        except IOError:
564
            raise ArgumentError("File not readable. Does it exist?")
564
            raise ArgumentError("File not readable. Does it exist?")
565
        with f:
565
        with f:
566
            data = self.emcore.run(f.read())
566
            data = self.emcore.run(f.read())
567
        self.logger.info("Executed emCORE application \"" + data.name + "\" at address " + self._hex(data.baseaddr))
567
        self.logger.info("Executed emCORE application as thread " + self._hex(data.thread))
568
 
568
 
569
    @command
569
    @command
570
    def execimage(self, addr):
570
    def execimage(self, addr):
571
        """
571
        """
572
            Executes the emCORE application at <addr>.
572
            Executes the emCORE application at <addr>.