Попутно совет-при небольшом размере платы обе ее стороны можно отобразить на одном листе. Для этого я создавал отдельный фаил, оставлял только верхнюю рамку, далее командой «размещение»-«вставить массив плат» вставлял 2 раза по одной плате (при вставке выбираете нужную вам плату). Одну их них переворачивал «вверх ногами», настройками файла OUTJOB добивался правильного ее отображения. В принципе ничего сложного и долгого.
Купил лазерный принтер, да вод пару дней назад закончился картридж, нашол прошивку сделал програматор прошил все отлично. Но чип в картридже основан на памяти 24с04
… как-то сумбурно. Что именно, зачем и чем вы прошили?
The 4 most significant bits of the device select code
are the device type identifier, corresponding to the
I2C bus definition. For these memories the 4 bits
are fixed as 1010b. The following 2 bits identify the
specific memory on the bus. They are matched to
the chip enable signals E2, E1. Thus up to 4 x 4K
memories can be connected on the same bus
giving a memory capacity total of 16 Kbits. After a
START condition any memory on the bus will iden-
tify the device code and compare the following 2
bits to its chip enable inputs E2, E1. The 7th bit sent is the block number (one block =
256 bytes). The 8th bit sent is the read or write bit
(RW), this bit is set to ’1’ for read and ’0’ for write
operations. If a match is found, the corresponding
memory will acknowledge the identification on the
SDA bus during the 9th bit time
i2c_start();
i2c_write(EEPROM_BUS_ADDRESS);
i2c_write(address);
i2c_write(data);
i2c_stop();
/* 10ms delay to complete the write operation */
delay_ms(10);
}
извините за ныглый вопрос, а как тода тут задать адрес, в переменой address?
… о каких программаторах идет речь?
The 4 most significant bits of the device select code
are the device type identifier, corresponding to the
I2C bus definition. For these memories the 4 bits
are fixed as 1010b. The following 2 bits identify the
specific memory on the bus. They are matched to
the chip enable signals E2, E1. Thus up to 4 x 4K
memories can be connected on the same bus
giving a memory capacity total of 16 Kbits. After a
START condition any memory on the bus will iden-
tify the device code and compare the following 2
bits to its chip enable inputs E2, E1.
The 7th bit sent is the block number (one block =
256 bytes). The 8th bit sent is the read or write bit
(RW), this bit is set to ’1’ for read and ’0’ for write
operations. If a match is found, the corresponding
memory will acknowledge the identification on the
SDA bus during the 9th bit time
К чему там 1й пин подключен?
А понравилось!