Главная категория > АТОЛ
Обновление в прошивках.
svv:
У меня не коннектится, да и вроде CRP2 JTAG отключает.
chellenger:
Code security (Code Read Protection - CRP)
This feature of the LPC178x/7x allows user to enable different levels of security in the
system so that access to the on-chip flash and use of the JTAG and ISP can be restricted.
When needed, CRP is invoked by programming a specific pattern into a dedicated flash
location. IAP commands are not affected by the CRP.
There are three levels of the Code Read Protection.
CRP1 disables access to chip via the JTAG and allows partial flash update (excluding
flash sector 0) using a limited set of the ISP commands. This mode is useful when CRP is
required and flash field updates are needed but all sectors can not be erased.
CRP2 disables access to chip via the JTAG and only allows full flash erase and update
using a reduced set of the ISP commands.
Running an application with level CRP3 selected fully disables any access to chip via the
JTAG pins and the ISP. This mode effectively disables ISP override using P2[10] pin, too.
It is up to the user’s application to provide (if needed) flash update mechanism using IAP
calls or call reinvoke ISP command to enable flash update via UART0.
СпойлерБезопасность кода (Code Read Protection-CRP)
Эта характеристика LPC178x / 7x позволяет потребителю включить различные уровни обеспеченности в
система так, что доступ к вспышке на-обломока и пользе JTAG и ISP можно ограничить.
При необходимости CRP вызывается путем программирования определенного шаблона в выделенную вспышку
местоположение. Команды IAP не затрагиваются CRP.
Существует три уровня защиты от чтения кода.
CRP1 отключает доступ к чипу через JTAG и позволяет частичное обновление флэш-памяти (исключая
flash sector 0) с использованием ограниченного набора команд ISP. Этот режим полезен, когда CRP
обязательные и флэш-обновления полей необходимы, но все сектора не могут быть стерты.
CRP2 отключает доступ к чипу через JTAG и позволяет только полное флэш-стирание и обновление
использование сокращенного набора команд ISP.
Запуск приложения с выбранным уровнем CRP3 полностью отключает любой доступ к чипу через
JTAG-контакты и интернет-провайдер. Этот режим эффективно отключает переопределение ISP с помощью P2 [10] pin-кода.
Это зависит от приложения пользователя, чтобы обеспечить (при необходимости) механизм обновления flash с помощью IAP
вызовите или вызовите команду reinvoke ISP, чтобы включить обновление flash через UART0.
Niro:
--- Цитата: chellenger от 20/11/2019 16:53:35 ---Code security (Code Read Protection - CRP)
This feature of the LPC178x/7x allows user to enable different levels of security in the
system so that access to the on-chip flash and use of the JTAG and ISP can be restricted.
When needed, CRP is invoked by programming a specific pattern into a dedicated flash
location. IAP commands are not affected by the CRP.
There are three levels of the Code Read Protection.
CRP1 disables access to chip via the JTAG and allows partial flash update (excluding
flash sector 0) using a limited set of the ISP commands. This mode is useful when CRP is
required and flash field updates are needed but all sectors can not be erased.
CRP2 disables access to chip via the JTAG and only allows full flash erase and update
using a reduced set of the ISP commands.
Running an application with level CRP3 selected fully disables any access to chip via the
JTAG pins and the ISP. This mode effectively disables ISP override using P2[10] pin, too.
It is up to the user’s application to provide (if needed) flash update mechanism using IAP
calls or call reinvoke ISP command to enable flash update via UART0.
--- Конец цитаты ---
Судя по описанию полное стирание с CRP2 возможно. Вот у меня и вопрос как сделать это с программатором J-Link ARM V8, что-бы не подпаиваться к плате.
chellenger:
Niro, увы, у меня нет J-Link'a, а так бы поигрался.
PuRGen:
--- Цитата: Niro от 20/11/2019 17:33:30 ---Судя по описанию полное стирание с CRP2 возможно. Вот у меня и вопрос как сделать это с программатором J-Link ARM V8, что-бы не подпаиваться к плате.
--- Конец цитаты ---
Я на атол 92 тёр j-link-ом и затем шил. Считать не мог естественно.
Навигация
Перейти к полной версии