Revision 293

trunk/toolbox/jumptable.h (revision 293)
3 3

  
4 4
// Jump table addresses
5 5
// If the bootloader changes, you must change the jump table addresses!
6
#define JT_ADDR             0x7FC
6
#define JT_ADDR             0x7FA
7 7
#define JT_PARSE_PACKET     ((void*)((JT_ADDR+0)/2))
8 8
#define JT_SEND_PACKET      ((void*)((JT_ADDR+2)/2))
9 9
#define JT_READ_ADDR        ((void*)((JT_ADDR+4)/2))
trunk/common/tooltron.h (revision 293)
66 66
#define EEPROM_ADDR2 ((void*)42)    // Location of the node's address in the EEPROM
67 67
#define EEPROM_ADDR3 ((void*)126)   // Location of the node's address in the EEPROM
68 68

  
69
// Tool ID numbers
70
#define ID_BROKEN 0 //signified eeprom is probably broken
71

  
69 72
// Debouncing
70 73
#define BUTTON_DEBOUNCE 5
71 74

  
trunk/bootloader/bootloader.h (revision 293)
10 10
#include "rs485_poll.h"
11 11
#include "packet.h"
12 12
#include "reset.h"
13
#include "addr.h"
13 14

  
14 15
#endif
trunk/bootloader/addr.c (revision 293)
12 12
    } else if (b == c) {
13 13
        return b;
14 14
    } else {
15
        // Oh shit case
15
        return ID_BROKEN;
16 16
    }
17 17
}
trunk/bootloader/Makefile (revision 293)
53 53
BOOTSTART = 0x3C0
54 54

  
55 55
# Location to place the jump table
56
JUMPSTART = 0x7FC
56
JUMPSTART = 0x7FA
57 57

  
58 58

  
59 59
# Output format. (can be srec, ihex, binary)

Also available in: Unified diff